avfilter/src_movie: configure correct YUV attributes

Missed by the YUV negotiation series.
pull/153/merge
Niklas Haas 3 months ago
parent 362586fcad
commit bed919efaa
  1. 6
      libavfilter/src_movie.c

@ -430,6 +430,12 @@ static int movie_query_formats(const AVFilterContext *ctx,
list[0] = c->format; list[0] = c->format;
if ((ret = ff_formats_ref(ff_make_format_list(list), &cfg->formats)) < 0) if ((ret = ff_formats_ref(ff_make_format_list(list), &cfg->formats)) < 0)
return ret; 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; break;
case AVMEDIA_TYPE_AUDIO: case AVMEDIA_TYPE_AUDIO:
list[0] = c->format; list[0] = c->format;

Loading…
Cancel
Save