[vlc-commits] opengl: fix YUV packed height display
Thomas Guillem
git at videolan.org
Mon Jul 9 11:48:12 CEST 2018
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jul 9 11:46:41 2018 +0200| [5547f0277db2333431eaf16e3269d4fbc2e1b09a] | committer: Thomas Guillem
opengl: fix YUV packed height display
Regression from 2599e2f7394972ec595b2f14d03bf0fb8f808c46
Fixes #20799
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5547f0277db2333431eaf16e3269d4fbc2e1b09a
---
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 29e6c0b5ba..9308857027 100644
--- a/modules/video_output/opengl/fragment_shaders.c
+++ b/modules/video_output/opengl/fragment_shaders.c
@@ -214,7 +214,7 @@ tc_yuv_base_init(opengl_tex_converter_t *tc, GLenum tex_target,
/* Y1 U Y2 V fits in R G B A */
tc->tex_count = 1;
tc->texs[0] = (struct opengl_tex_cfg) {
- { 1, 2 }, { 1, 2 }, GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE
+ { 1, 2 }, { 1, 1 }, GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE
};
/*
More information about the vlc-commits
mailing list