[FFmpeg-cvslog] avfilter/vf_scale: Do not skip scale if range mismatches

Carl Eugen Hoyos git at videolan.org
Mon Aug 31 02:02:22 CEST 2015


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sun Aug 30 23:46:11 2015 +0200| [75d9006475a1b07544ca3c116c02689c8cc1a90c] | committer: Michael Niedermayer

avfilter/vf_scale: Do not skip scale if range mismatches

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=75d9006475a1b07544ca3c116c02689c8cc1a90c
---

 libavfilter/vf_scale.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index 9698bfb..be061e2 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 {



More information about the ffmpeg-cvslog mailing list