mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 00:51:37 +00:00
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:
parent
951d4ba5f5
commit
b22ef26782
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user