aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/yuv2rgb.c
diff options
context:
space:
mode:
authorZuxy Meng <zuxy.meng@gmail.com>2010-01-19 05:21:17 +0000
committerZuxy Meng <zuxy.meng@gmail.com>2010-01-19 05:21:17 +0000
commitd5206d3dd636264f5750eb8888ebccbadc34e33b (patch)
tree8468521ec62d1e9d2169ae221fc2181fd4d4bc4d /libswscale/yuv2rgb.c
parent1d52b4b390900bc2d525d161e3dd06101e72e389 (diff)
downloadffmpeg-d5206d3dd636264f5750eb8888ebccbadc34e33b.tar.gz
User friendly warning message that gives out names of source and target formats
Originally committed as revision 30370 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r--libswscale/yuv2rgb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index 8e987a61f1..3f81d0f102 100644
--- a/libswscale/yuv2rgb.c
+++ b/libswscale/yuv2rgb.c
@@ -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: