Преглед на файлове

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)