Просмотр исходного кода

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 лет назад
Родитель
Сommit
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)