mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
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.
This commit is contained in:
parent
1b140835b6
commit
3b811bcf67
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user