User friendly warning message that gives out names of source and target formats
authorZuxy Meng <zuxy.meng@gmail.com>
Tue, 19 Jan 2010 05:21:17 +0000 (05:21 +0000)
committerZuxy Meng <zuxy.meng@gmail.com>
Tue, 19 Jan 2010 05:21:17 +0000 (05:21 +0000)
Originally committed as revision 30370 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/yuv2rgb.c

index 8e987a6..3f81d0f 100644 (file)
@@ -530,7 +530,7 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c)
     if (t)
         return t;
 
-    av_log(c, AV_LOG_WARNING, "No accelerated colorspace conversion found.\n");
+    av_log(c, AV_LOG_WARNING, "No accelerated colorspace conversion found from %s to %s.\n", sws_format_name(c->srcFormat), sws_format_name(c->dstFormat));
 
     switch (c->dstFormat) {
     case PIX_FMT_RGB48BE: