[FFmpeg-devel] [PATCH 08/25] avfilter/vf_scale: remove YCgCo check

Niklas Haas ffmpeg at haasn.xyz
Thu Nov 9 14:19:40 EET 2023


From: Niklas Haas <git at haasn.dev>

This is never avertised as supported to upstream filters.
---
 libavfilter/vf_scale.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index 44dc1f2bf8..dbe380d4c0 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -771,9 +771,6 @@ static int scale_frame(AVFilterLink *link, AVFrame *in, AVFrame **frame_out)
     int frame_changed;
 
     *frame_out = NULL;
-    if (in->colorspace == AVCOL_SPC_YCGCO)
-        av_log(link->dst, AV_LOG_WARNING, "Detected unsupported YCgCo colorspace.\n");
-
     frame_changed = in->width  != link->w ||
                     in->height != link->h ||
                     in->format != link->format ||
-- 
2.42.0



More information about the ffmpeg-devel mailing list