[FFmpeg-cvslog] lavfi/colormatrix: reword error message in init
Stefano Sabatini
git at videolan.org
Sun Mar 24 20:26:52 CET 2013
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Mar 24 13:46:15 2013 +0100| [3b811bcf674038ab298d5dd194992e4e4929d8f2] | committer: 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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3b811bcf674038ab298d5dd194992e4e4929d8f2
---
libavfilter/vf_colormatrix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c
index 316fced..c57be41 100644
--- a/libavfilter/vf_colormatrix.c
+++ b/libavfilter/vf_colormatrix.c
@@ -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);
}
More information about the ffmpeg-cvslog
mailing list