[FFmpeg-devel] [PATCH] avfilter/vf_colorspace: fix message for missing/incorrect colorspace
Ronald S. Bultje
rsbultje at gmail.com
Tue May 30 16:06:15 EEST 2023
Hi,
On Tue, May 30, 2023 at 6:29 AM Sami Boukortt <
sboukortt-at-google.com at ffmpeg.org> wrote:
> ---
> 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);
> }
> --
> 2.41.0.rc0.172.g3f132b7071-goog
>
Good catch, thanks. Merged.
Ronald
More information about the ffmpeg-devel
mailing list