audio_mix: print (SKIP) instead of 0.0 for matrix columns removed along with output...
authorAnton Khirnov <anton@khirnov.net>
Mon, 16 Dec 2013 18:05:45 +0000 (19:05 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 3 Jan 2014 15:43:25 +0000 (16:43 +0100)
libavresample/audio_mix.c

index 211e3c9..8619c1a 100644 (file)
@@ -729,7 +729,7 @@ int ff_audio_mix_set_matrix(AudioMix *am, const double *matrix, int stride)
         for (i = 0; i < am->in_channels; i++) {
             if (am->output_zero[o])
                 av_log(am->avr, AV_LOG_DEBUG, "  (ZERO)");
-            else if (am->input_skip[i] || am->output_skip[o])
+            else if (am->input_skip[i] || am->output_zero[i] || am->output_skip[o])
                 av_log(am->avr, AV_LOG_DEBUG, "  (SKIP)");
             else
                 av_log(am->avr, AV_LOG_DEBUG, "  %0.3f ",