Commit 5a00c300 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_scale: Do not skip scale if the color matrix mismatches

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 75d90064
......@@ -350,6 +350,7 @@ static int config_props(AVFilterLink *outlink)
scale->isws[0] = scale->isws[1] = scale->sws = NULL;
if (inlink0->w == outlink->w &&
inlink0->h == outlink->h &&
!scale->out_color_matrix &&
scale->in_range == scale->out_range &&
inlink0->format == outlink->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