Commit d5dcd946 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_scale: Add warning for AVCOL_SPC_YCGCO

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c69ff12d
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment