Browse Source

fix problem where sometimes VLCOpenGLES2VideoView has a different size than the superview.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
pull/29/head
Tobias Conradi 11 years ago
committed by Felix Paul Kühne
parent
commit
974b79d88e
  1. 1
      modules/video_output/ios2.m

1
modules/video_output/ios2.m

@ -148,6 +148,7 @@ static int Open(vlc_object_t *this)
/* setup the actual OpenGL ES view */
sys->glESView = [[VLCOpenGLES2VideoView alloc] initWithFrame:[viewContainer bounds]];
sys->glESView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
if (!sys->glESView)
goto bailout;

Loading…
Cancel
Save