vlc/vlc-2.2 | branch: master | Tobias Conradi <[email protected]> | 
Thu May 14 21:38:23 2015 +0200| [7f525a92163d2622348e6f4709d5b2a9abf25f9c] | 
committer: Felix Paul Kühne

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

Signed-off-by: Felix Paul Kühne <[email protected]>
(cherry picked from commit 974b79d88ec564e86ab4137dd35aec941eca4338)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=7f525a92163d2622348e6f4709d5b2a9abf25f9c
---

 modules/video_output/ios2.m |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_output/ios2.m b/modules/video_output/ios2.m
index b9559d7..306cdb5 100644
--- a/modules/video_output/ios2.m
+++ b/modules/video_output/ios2.m
@@ -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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to