mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
avfilter/vf_scale: Do not skip scale if range mismatches
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
c64060d56a
commit
75d9006475
@ -350,6 +350,7 @@ static int config_props(AVFilterLink *outlink)
|
|||||||
scale->isws[0] = scale->isws[1] = scale->sws = NULL;
|
scale->isws[0] = scale->isws[1] = scale->sws = NULL;
|
||||||
if (inlink0->w == outlink->w &&
|
if (inlink0->w == outlink->w &&
|
||||||
inlink0->h == outlink->h &&
|
inlink0->h == outlink->h &&
|
||||||
|
scale->in_range == scale->out_range &&
|
||||||
inlink0->format == outlink->format)
|
inlink0->format == outlink->format)
|
||||||
;
|
;
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user