aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_scale.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2015-08-30 23:46:11 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-08-31 01:33:05 +0200
commit75d9006475a1b07544ca3c116c02689c8cc1a90c (patch)
treec081f105e9a465f35713f94a0d465d51d8ea752a /libavfilter/vf_scale.c
parentc64060d56a049feb4537a50db6aa31307264f893 (diff)
downloadffmpeg-75d9006475a1b07544ca3c116c02689c8cc1a90c.tar.gz
avfilter/vf_scale: Do not skip scale if range mismatches
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/vf_scale.c')
-rw-r--r--libavfilter/vf_scale.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index 9698bfbf7c..be061e289c 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -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 {