OSDN Git Service

asrc_anullsrc: do not show the int64_t value for channel_layout
authorStefano Sabatini <stefasab@gmail.com>
Sat, 17 Sep 2011 10:50:24 +0000 (12:50 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 18 Sep 2011 10:38:39 +0000 (12:38 +0200)
That was clumsy and confusing, only show the descriptive channel
layout string.

libavfilter/asrc_anullsrc.c

index a52f799..a652c7e 100644 (file)
@@ -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;
 }