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
This commit is contained in:
Zuxy Meng 2010-01-19 05:21:17 +00:00
parent 1d52b4b390
commit d5206d3dd6
1 changed files with 1 additions and 1 deletions

View 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: