1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avfilter/vf_colorspace: fix message for missing/incorrect colorspace

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
Sami Boukortt 2023-05-30 12:29:06 +02:00 committed by Ronald S. Bultje
parent 81f658b99d
commit 06e8eedeba

View File

@ -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);
}