[FFmpeg-cvslog] lavr: log channel conversion description for any-to-any functions
Justin Ruggles
git at videolan.org
Tue Jan 8 13:14:08 CET 2013
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Sat Dec 29 14:22:55 2012 -0500| [7ff3fd7ae4d6b178501f2f98ff64cbaad02752cc] | committer: Justin Ruggles
lavr: log channel conversion description for any-to-any functions
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ff3fd7ae4d6b178501f2f98ff64cbaad02752cc
---
libavresample/audio_mix.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libavresample/audio_mix.c b/libavresample/audio_mix.c
index 8df8a02..12f5d24 100644
--- a/libavresample/audio_mix.c
+++ b/libavresample/audio_mix.c
@@ -87,11 +87,12 @@ void ff_audio_mix_set_func(AudioMix *am, enum AVSampleFormat fmt,
} else if (out_channels) {
snprintf(chan_str, sizeof(chan_str), "[any to %d] ",
out_channels);
+ } else {
+ snprintf(chan_str, sizeof(chan_str), "[any to any] ");
}
av_log(am->avr, AV_LOG_DEBUG, "audio_mix: found function: [fmt=%s] "
"[c=%s] %s(%s)\n", av_get_sample_fmt_name(fmt),
- coeff_type_names[coeff_type],
- (in_channels || out_channels) ? chan_str : "", descr);
+ coeff_type_names[coeff_type], chan_str, descr);
}
}
More information about the ffmpeg-cvslog
mailing list