Commit 75d90064 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos Committed by Michael Niedermayer

avfilter/vf_scale: Do not skip scale if range mismatches

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent c64060d5
......@@ -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->in_range == scale->out_range &&
inlink0->format == outlink->format)
;
else {
......
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