OSDN Git Service

More explicit unsupported pixel format error messages.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 15 Feb 2008 07:50:27 +0000 (07:50 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Fri, 15 Feb 2008 07:50:27 +0000 (07:50 +0000)
Patch by Stefano Sabatini: stefano sabatini (minus) lala % poste it

Originally committed as revision 25999 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale.c

index 62a4ab4..6bbf61b 100644 (file)
@@ -2062,12 +2062,12 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH
 
     if (!isSupportedIn(srcFormat))
     {
-        av_log(NULL, AV_LOG_ERROR, "swScaler: %s is not supported as input format\n", sws_format_name(srcFormat));
+        av_log(NULL, AV_LOG_ERROR, "swScaler: %s is not supported as input pixel format\n", sws_format_name(srcFormat));
         return NULL;
     }
     if (!isSupportedOut(dstFormat))
     {
-        av_log(NULL, AV_LOG_ERROR, "swScaler: %s is not supported as output format\n", sws_format_name(dstFormat));
+        av_log(NULL, AV_LOG_ERROR, "swScaler: %s is not supported as output pixel format\n", sws_format_name(dstFormat));
         return NULL;
     }