Commit b1126bb3 authored by Tobias's avatar Tobias

use upstream version instead of patching locally

parent 0a7ebbc4
From cd186d22d85673439c3538186ff3f7b6a85ad2de Mon Sep 17 00:00:00 2001
From: Tobias Conradi <videolan@tobias-conradi.de>
Date: Thu, 14 May 2015 21:38:23 +0200
Subject: [PATCH] fix problem where sometimes VLCOpenGLES2VideoView has a
different size than the superview.
---
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;
--
2.2.1
......@@ -15,7 +15,7 @@ NONETWORK=no
SKIPLIBVLCCOMPILATION=no
SCARY=yes
TESTEDHASH=5b8b9780773ef0c
TESTEDHASH=7f525a92163d262
usage()
{
......
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