[vlc-commits] opengl: fix OpenGL double-vflip in cvpx interop

Romain Vimont git at videolan.org
Mon Jun 29 10:01:31 CEST 2020


vlc | branch: master | Romain Vimont <rom1v at videolabs.io> | Mon Jun 29 09:59:19 2020 +0200| [a429e28796ac5af19e0b732c43260097ecf084b3] | committer: Alexandre Janniaux

opengl: fix OpenGL double-vflip in cvpx interop

A vflip was inserted twice by mistake in commit
1fee4df0606a38d804ddfa0175b5584b7ddc6591.

Remove one of them.

Signed-off-by: Alexandre Janniaux <ajanni at videolabs.io>

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

 modules/video_output/opengl/interop_cvpx.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/video_output/opengl/interop_cvpx.c b/modules/video_output/opengl/interop_cvpx.c
index cf8b23cd23..b7c0b47672 100644
--- a/modules/video_output/opengl/interop_cvpx.c
+++ b/modules/video_output/opengl/interop_cvpx.c
@@ -214,9 +214,6 @@ Open(vlc_object_t *obj)
     }
 #endif
 
-    /* The pictures are uploaded upside-down */
-    video_format_TransformBy(&interop->fmt_out, TRANSFORM_VFLIP);
-
     int ret;
     switch (interop->fmt_in.i_chroma)
     {



More information about the vlc-commits mailing list