diff options
author | benoit <benoit@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-02-15 07:50:27 +0000 |
---|---|---|
committer | benoit <benoit@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-02-15 07:50:27 +0000 |
commit | 5839f0634193e137118f320f2bad3b01eb0af2cf (patch) | |
tree | 3e60f2e5df12830015c8b291efc41fd16e2da882 /libswscale/swscale.c | |
parent | 85f638a50eb8a9f395bee7ae8293742951342c2f (diff) | |
download | mpv-5839f0634193e137118f320f2bad3b01eb0af2cf.tar.bz2 mpv-5839f0634193e137118f320f2bad3b01eb0af2cf.tar.xz |
More explicit unsupported pixel format error messages.
Patch by Stefano Sabatini: stefano sabatini (minus) lala % poste it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25999 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 62a4ab4068..6bbf61b7a6 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; } |