Commit 7f525a92 authored by Tobias Conradi's avatar Tobias Conradi Committed by Felix Paul Kühne

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

Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
(cherry picked from commit 974b79d88ec564e86ab4137dd35aec941eca4338)
parent 5b8b9780
......@@ -146,6 +146,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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment