diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index f77884c27a..2a3d00808d 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -450,6 +450,9 @@ static int filter_frame(AVFilterLink *link, AVFrame *in) char buf[32]; int in_range; + if (av_frame_get_colorspace(in) == AVCOL_SPC_YCGCO) + av_log(link->dst, AV_LOG_WARNING, "Detected unsupported YCgCo colorspace.\n"); + if( in->width != link->w || in->height != link->h || in->format != link->format) {