From 470738ba8b3512ae59f1d6524e0e52b7e706dee0 Mon Sep 17 00:00:00 2001 From: Thomas Guillem Date: Tue, 28 Nov 2017 16:05:40 +0100 Subject: [PATCH] opengl: cvpx: specify texture scale for NV12 --- 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 0954f8a0f3ca..2599dd88db51 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: