[vlc-commits] ios2 vout: fix the inverted video orientation

Adrien Maglo git at videolan.org
Sat Nov 19 23:08:34 CET 2016


vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Sat Nov 19 23:07:40 2016 +0100| [270dc6a47f36315602502ebb9677c1344e6534b6] | committer: Jean-Baptiste Kempf

ios2 vout: fix the inverted video orientation

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=270dc6a47f36315602502ebb9677c1344e6534b6
---

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

diff --git a/modules/video_output/ios2.m b/modules/video_output/ios2.m
index 3e1c8b4..a47941f 100644
--- a/modules/video_output/ios2.m
+++ b/modules/video_output/ios2.m
@@ -119,7 +119,7 @@ static NSString *const vertexShaderString = @" \
 \
  void main() \
  { \
-    gl_Position = position * transformMatrix; \
+    gl_Position = transformMatrix * position; \
     texCoordVarying = texCoord; \
  } \
 ";



More information about the vlc-commits mailing list