[vlc-commits] Magnify filter: give better debug message

Jean-Baptiste Kempf git at videolan.org
Mon Jan 25 23:03:36 CET 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 25 23:03:07 2016 +0100| [54e38a8982b963abc0bcfc074787b8fde4c6f4b4] | committer: Jean-Baptiste Kempf

Magnify filter: give better debug message

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

 modules/video_filter/magnify.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/magnify.c b/modules/video_filter/magnify.c
index d9bda85..26a175e 100644
--- a/modules/video_filter/magnify.c
+++ b/modules/video_filter/magnify.c
@@ -99,7 +99,7 @@ static int Create( vlc_object_t *p_this )
     case VLC_CODEC_GREY:
         break;
     default:
-        msg_Err( p_filter, "Unsupported chroma" );
+        msg_Err( p_filter, "Unsupported chroma %4.4s", (char *)&p_filter->fmt_in.i_codec );
         return VLC_EGENERIC;
     }
     if( !es_format_IsSimilar( &p_filter->fmt_in, &p_filter->fmt_out ) )



More information about the vlc-commits mailing list