[vlc-commits] opengl: fix NV12 texture scale for SW fmts
Thomas Guillem
git at videolan.org
Tue Nov 28 16:12:44 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | 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
};
}
More information about the vlc-commits
mailing list