Commit f6d57f6f authored by zuxy's avatar zuxy

User friendly warning message that gives out names of source and target formats


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@30370 b3059339-0415-0410-9bf9-f77b7e298cf2
parent f1ccb49a
...@@ -530,7 +530,7 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c) ...@@ -530,7 +530,7 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c)
if (t) if (t)
return 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) { switch (c->dstFormat) {
case PIX_FMT_RGB48BE: case PIX_FMT_RGB48BE:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment