Commit 3b811bcf authored by Stefano Sabatini's avatar Stefano Sabatini

lavfi/colormatrix: reword error message in init

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.
parent 1b140835
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment