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

Romain Vimont rom1v at videolabs.io
Sun Jun 28 19:13:49 CEST 2020


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

Remove one of them.
---
 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 be3d9cecce..706bbbfd24 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, TRANSFORM_VFLIP);
-
     int ret;
     switch (interop->fmt.i_chroma)
     {
-- 
2.27.0



More information about the vlc-devel mailing list