[SCM] libav/experimental: More explicit unsupported pixel format error messages. Patch by Stefano Sabatini: stefano sabatini (minus) lala % poste it

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:14:07 UTC 2013


The following commit has been merged in the experimental branch:
commit 0d6fd5ec1385614889e55cf1bcd085954ebbb512
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Fri Feb 15 07:50:27 2008 +0000

    More explicit unsupported pixel format error messages.
    Patch by Stefano Sabatini: stefano sabatini (minus) lala % poste it
    
    Originally committed as revision 25999 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 62a4ab4..6bbf61b 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -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;
     }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list