avfilter/src_movie: configure correct YUV attributes

Missed by the YUV negotiation series.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Niklas Haas 2024-09-16 20:46:59 +02:00 committed by Paul B Mahol
parent 951d4ba5f5
commit b22ef26782

View File

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