[vlc-commits] opengl: cvpx: specify texture scale for NV12
Thomas Guillem
git at videolan.org
Tue Nov 28 16:12:41 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Nov 28 16:05:40 2017 +0100| [470738ba8b3512ae59f1d6524e0e52b7e706dee0] | committer: Thomas Guillem
opengl: cvpx: specify texture scale for NV12
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=470738ba8b3512ae59f1d6524e0e52b7e706dee0
---
modules/video_output/opengl/converter_cvpx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_output/opengl/converter_cvpx.c b/modules/video_output/opengl/converter_cvpx.c
index 0954f8a0f3..2599dd88db 100644
--- a/modules/video_output/opengl/converter_cvpx.c
+++ b/modules/video_output/opengl/converter_cvpx.c
@@ -231,6 +231,7 @@ Open(vlc_object_t *obj)
fragment_shader =
opengl_fragment_shader_init(tc, tex_target, VLC_CODEC_NV12,
tc->fmt.space);
+ tc->texs[1].h = (vlc_rational_t) { 1, 2 };
break;
}
case VLC_CODEC_CVPX_I420:
More information about the vlc-commits
mailing list