vlc | branch: master | Thomas Guillem <[email protected]> | Tue Nov 28 16:07:39 
2017 +0100| [35c2d3cfe16670ba232a20eb212cfdb007f213cb] | committer: Thomas 
Guillem

opengl: fix NV12 texture scale for SW fmts

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

 modules/video_output/opengl/fragment_shaders.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/opengl/fragment_shaders.c 
b/modules/video_output/opengl/fragment_shaders.c
index 9cdab663da..3cc9222284 100644
--- a/modules/video_output/opengl/fragment_shaders.c
+++ b/modules/video_output/opengl/fragment_shaders.c
@@ -180,7 +180,7 @@ tc_yuv_base_init(opengl_tex_converter_t *tc, GLenum 
tex_target,
                 GL_UNSIGNED_BYTE
             };
             tc->texs[1] = (struct opengl_tex_cfg) {
-                { 1, 2 }, { 1, 2 }, twoplanes_texfmt, twoplanes_texfmt,
+                { 1, 2 }, { 1, 4 }, twoplanes_texfmt, twoplanes_texfmt,
                 GL_UNSIGNED_BYTE
             };
         }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to