[FFmpeg-devel] [PATCH] asrc_anullsrc: do not show the int64_t value for channel_layout

Stefano Sabatini stefasab at gmail.com
Sat Sep 17 12:56:26 CEST 2011


That was clumsy and confusing, only show the descriptive channel
layout string.
---
 libavfilter/asrc_anullsrc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/asrc_anullsrc.c b/libavfilter/asrc_anullsrc.c
index c39f3e7..df10cb1 100644
--- a/libavfilter/asrc_anullsrc.c
+++ b/libavfilter/asrc_anullsrc.c
@@ -96,8 +96,8 @@ static int config_props(AVFilterLink *outlink)
     chans_nb = av_get_channel_layout_nb_channels(priv->channel_layout);
     av_get_channel_layout_string(buf, sizeof(buf), chans_nb, priv->channel_layout);
     av_log(outlink->src, AV_LOG_INFO,
-           "sample_rate:%d channel_layout:%"PRId64 " channel_layout_description:'%s' nb_samples:%d\n",
-           priv->sample_rate, priv->channel_layout, buf, priv->nb_samples);
+           "sample_rate:%d channel_layout:'%s' nb_samples:%d\n",
+           priv->sample_rate, buf, priv->nb_samples);
 
     return 0;
 }
-- 
1.7.2.5



More information about the ffmpeg-devel mailing list