[FFmpeg-devel] [PATCH 01/12] avfilter/src_movie: configure correct YUV attributes
Niklas Haas
ffmpeg at haasn.xyz
Sat Oct 5 22:23:52 EEST 2024
From: Niklas Haas <git at haasn.dev>
Missed by the YUV negotiation series.
---
libavfilter/src_movie.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c
index 65091b65f0..d2aa572d12 100644
--- a/libavfilter/src_movie.c
+++ b/libavfilter/src_movie.c
@@ -430,6 +430,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;
--
2.46.1
More information about the ffmpeg-devel
mailing list