From 700d4073cce35d88e87bc1d1d036902ddcd989f4 Mon Sep 17 00:00:00 2001 From: itabirca Date: Wed, 4 May 2016 11:59:46 +0300 Subject: [PATCH] fix: video is inverted horizontally scale width by -100% and translate x by width --- src/MainView.as | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MainView.as b/src/MainView.as index 2cf2647..c9f8187 100644 --- a/src/MainView.as +++ b/src/MainView.as @@ -115,6 +115,8 @@ package { if(_videoWidth != 0) return; _videoWidth = o.width; _videoHeight = o.height; + _videoMatrix.scale(-1, 1); + _videoMatrix.translate(320, 0); _videoMatrix.scale(_videoWidth / 320, _videoHeight / 240); init3D(); };