Jelajahi Sumber

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 tahun lalu
induk
melakukan
c9d09df8fa
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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)