changeset 30328:0e52b96c6199

User friendly warning message that gives out names of source and target formats
author zuxy
date Tue, 19 Jan 2010 05:21:17 +0000
parents 028ec0735169
children 2c0866c165ef
files libswscale/yuv2rgb.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/yuv2rgb.c	Tue Jan 19 03:47:11 2010 +0000
+++ b/libswscale/yuv2rgb.c	Tue Jan 19 05:21:17 2010 +0000
@@ -530,7 +530,7 @@
     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: