mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_colorspace: fix message for missing/incorrect colorspace
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
parent
81f658b99d
commit
06e8eedeba
|
@ -572,15 +572,15 @@ static int create_filtergraph(AVFilterContext *ctx,
|
||||||
if (s->out_csp == AVCOL_SPC_UNSPECIFIED) {
|
if (s->out_csp == AVCOL_SPC_UNSPECIFIED) {
|
||||||
if (s->user_all == CS_UNSPECIFIED) {
|
if (s->user_all == CS_UNSPECIFIED) {
|
||||||
av_log(ctx, AV_LOG_ERROR,
|
av_log(ctx, AV_LOG_ERROR,
|
||||||
"Please specify output transfer characteristics\n");
|
"Please specify output colorspace\n");
|
||||||
} else {
|
} else {
|
||||||
av_log(ctx, AV_LOG_ERROR,
|
av_log(ctx, AV_LOG_ERROR,
|
||||||
"Unsupported output color property %d\n", s->user_all);
|
"Unsupported output color property %d\n", s->user_all);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
av_log(ctx, AV_LOG_ERROR,
|
av_log(ctx, AV_LOG_ERROR,
|
||||||
"Unsupported output transfer characteristics %d (%s)\n",
|
"Unsupported output colorspace %d (%s)\n", s->out_csp,
|
||||||
s->out_csp, av_color_space_name(s->out_csp));
|
av_color_space_name(s->out_csp));
|
||||||
}
|
}
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue