[vlc-devel] [PATCH 3/3] opengl: converter_cvpx: don't handle color space
Victorien Le Couviour--Tuffet
victorien.lecouviour.tuffet at gmail.com
Thu Jul 27 12:06:34 CEST 2017
VideoToolbox already handles it.
---
modules/video_output/opengl/converter_cvpx.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/video_output/opengl/converter_cvpx.c b/modules/video_output/opengl/converter_cvpx.c
index 7864d3f25b..e388551b2e 100644
--- a/modules/video_output/opengl/converter_cvpx.c
+++ b/modules/video_output/opengl/converter_cvpx.c
@@ -196,7 +196,7 @@ opengl_tex_converter_cvpx_init(opengl_tex_converter_t *tc)
case VLC_CODEC_CVPX_UYVY:
fragment_shader =
opengl_fragment_shader_init(tc, tex_target, VLC_CODEC_UYVY,
- tc->fmt.space);
+ COLOR_SPACE_UNDEF);
tc->texs[0].internal = GL_RGB;
tc->texs[0].format = GL_RGB_422_APPLE;
tc->texs[0].type = GL_UNSIGNED_SHORT_8_8_APPLE;
@@ -205,13 +205,13 @@ opengl_tex_converter_cvpx_init(opengl_tex_converter_t *tc)
{
fragment_shader =
opengl_fragment_shader_init(tc, tex_target, VLC_CODEC_NV12,
- tc->fmt.space);
+ COLOR_SPACE_UNDEF);
break;
}
case VLC_CODEC_CVPX_I420:
fragment_shader =
opengl_fragment_shader_init(tc, tex_target, VLC_CODEC_I420,
- tc->fmt.space);
+ COLOR_SPACE_UNDEF);
break;
case VLC_CODEC_CVPX_BGRA:
fragment_shader =
--
2.13.1
More information about the vlc-devel
mailing list