OSDN Git Service

lavfi/colormatrix: reword error message in init
authorStefano Sabatini <stefasab@gmail.com>
Sun, 24 Mar 2013 12:46:15 +0000 (13:46 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 24 Mar 2013 19:21:35 +0000 (20:21 +0100)
Change:
"source and destination color space are identical"

which is a true fact, but doesn't tell nothing about what's wrong, to:
"Source and destination color space must not be identical"

which tells more explicitly what the problem is.

libavfilter/vf_colormatrix.c

index 316fced..c57be41 100644 (file)
@@ -170,7 +170,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
     }
 
     if (color->source == color->dest) {
-        av_log(ctx, AV_LOG_ERROR, "source and destination color space are identical\n");
+        av_log(ctx, AV_LOG_ERROR, "Source and destination color space must not be identical\n");
         return AVERROR(EINVAL);
     }