Browse Source

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
tags/v0.5
Stefano Sabatini Benoit Fouet 17 years ago
parent
commit
0d6fd5ec13
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libswscale/swscale.c

+ 2
- 2
libswscale/swscale.c View 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;
}



Loading…
Cancel
Save