浏览代码

fixed bug where mini player was not visible because the VLCOpenGLESVideoView wasn't resized correctly
fix bug where video wasn't correctly sized and placed in full screen player

(cherry picked from commit e64b2d5b6de8d54c7f05a2e8d1a05fbf19edcafd)
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>

Tobias Conradi 10 年之前
父节点
当前提交
c9d09df8fa
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Sources/VLCMiniPlaybackView.m

+ 1 - 0
Sources/VLCMiniPlaybackView.m

@@ -153,6 +153,7 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
             _videoView = nil;
         }
         _videoView = [[UIView alloc] initWithFrame:_artworkView.frame];
+        [_videoView setClipsToBounds:YES];
         [self addSubview:_videoView];
 
         if (!controller.presentingMovieViewController)