avfilter/vf_scale: Do not skip scale if the color matrix mismatches
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 30 Aug 2015 21:49:04 +0000 (23:49 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 30 Aug 2015 23:33:05 +0000 (01:33 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vf_scale.c

index be061e2..01f0020 100644 (file)
@@ -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)
         ;