[vlc-commits] opengl: disable color conversions for subpic programs

Thomas Guillem git at videolan.org
Fri Nov 3 21:23:18 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Nov  3 21:23:11 2017 +0100| [71690aa7a13ba2cabb2ed9ae06245ec7a13272b1] | committer: Thomas Guillem

opengl: disable color conversions for subpic programs

Since it's RV32.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=71690aa7a13ba2cabb2ed9ae06245ec7a13272b1
---

 modules/video_output/opengl/vout_helper.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/video_output/opengl/vout_helper.c b/modules/video_output/opengl/vout_helper.c
index 556a9be728..76f11645e9 100644
--- a/modules/video_output/opengl/vout_helper.c
+++ b/modules/video_output/opengl/vout_helper.c
@@ -630,6 +630,9 @@ opengl_init_program(vout_display_opengl_t *vgl, struct prgm *prgm,
         /* Normal orientation and no projection for subtitles */
         tc->fmt.orientation = ORIENT_NORMAL;
         tc->fmt.projection_mode = PROJECTION_MODE_RECTANGULAR;
+        tc->fmt.primaries = COLOR_PRIMARIES_UNDEF;
+        tc->fmt.transfer = TRANSFER_FUNC_UNDEF;
+        tc->fmt.space = COLOR_SPACE_UNDEF;
 
         ret = opengl_tex_converter_generic_init(tc, false);
     }



More information about the vlc-commits mailing list