From 06e8eedeba3882480b80a9797f6d0d86d72aca12 Mon Sep 17 00:00:00 2001 From: Sami Boukortt Date: Tue, 30 May 2023 12:29:06 +0200 Subject: [PATCH] avfilter/vf_colorspace: fix message for missing/incorrect colorspace Signed-off-by: Ronald S. Bultje --- libavfilter/vf_colorspace.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c index 21916b7b7a..852dc11c6c 100644 --- a/libavfilter/vf_colorspace.c +++ b/libavfilter/vf_colorspace.c @@ -572,15 +572,15 @@ static int create_filtergraph(AVFilterContext *ctx, if (s->out_csp == AVCOL_SPC_UNSPECIFIED) { if (s->user_all == CS_UNSPECIFIED) { av_log(ctx, AV_LOG_ERROR, - "Please specify output transfer characteristics\n"); + "Please specify output colorspace\n"); } else { av_log(ctx, AV_LOG_ERROR, "Unsupported output color property %d\n", s->user_all); } } else { av_log(ctx, AV_LOG_ERROR, - "Unsupported output transfer characteristics %d (%s)\n", - s->out_csp, av_color_space_name(s->out_csp)); + "Unsupported output colorspace %d (%s)\n", s->out_csp, + av_color_space_name(s->out_csp)); } return AVERROR(EINVAL); }