From b22ef2678252eeef5a713c6fa7d1d7b379cf321e Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 16 Sep 2024 20:46:59 +0200 Subject: [PATCH] avfilter/src_movie: configure correct YUV attributes Missed by the YUV negotiation series. Signed-off-by: Paul B Mahol --- libavfilter/src_movie.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c index 52cdee3db3..ff55c73ae0 100644 --- a/libavfilter/src_movie.c +++ b/libavfilter/src_movie.c @@ -428,6 +428,12 @@ static int movie_query_formats(const AVFilterContext *ctx, list[0] = c->format; if ((ret = ff_formats_ref(ff_make_format_list(list), &cfg->formats)) < 0) return ret; + list[0] = c->color_space; + if ((ret = ff_formats_ref(ff_make_format_list(list), &cfg->color_spaces)) < 0) + return ret; + list[0] = c->color_range; + if ((ret = ff_formats_ref(ff_make_format_list(list), &cfg->color_ranges)) < 0) + return ret; break; case AVMEDIA_TYPE_AUDIO: list[0] = c->format;