Przeglądaj źródła

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 lat temu
rodzic
commit
c9d09df8fa
1 zmienionych plików z 1 dodań i 0 usunięć
  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)