[vlc-commits] opengl: change log when converters fail

Thomas Guillem git at videolan.org
Fri Feb 3 15:05:55 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Feb  3 15:03:31 2017 +0100| [97897e985f16718d937c11437b41da656bf4375d] | committer: Thomas Guillem

opengl: change log when converters fail

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

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

diff --git a/modules/video_output/opengl/vout_helper.c b/modules/video_output/opengl/vout_helper.c
index 321b8f6..a5c091c 100644
--- a/modules/video_output/opengl/vout_helper.c
+++ b/modules/video_output/opengl/vout_helper.c
@@ -581,7 +581,8 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
     }
     if (fragment_shader == 0)
     {
-        msg_Err(gl, "could not init tex converter");
+        msg_Warn(gl, "could not init tex converter for %4.4s",
+                 (const char *) &fmt->i_chroma);
         if (sub_tex_conv.pf_release != NULL)
             sub_tex_conv.pf_release(&sub_tex_conv);
         vgl->api.DeleteShader(sub_fragment_shader);



More information about the vlc-commits mailing list