Commit 17d2fee7 authored by Stefano Sabatini's avatar Stefano Sabatini

asrc_anullsrc: do not show the int64_t value for channel_layout

That was clumsy and confusing, only show the descriptive channel
layout string.
parent e72aa524
...@@ -96,8 +96,8 @@ static int config_props(AVFilterLink *outlink) ...@@ -96,8 +96,8 @@ static int config_props(AVFilterLink *outlink)
chans_nb = av_get_channel_layout_nb_channels(priv->channel_layout); 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_get_channel_layout_string(buf, sizeof(buf), chans_nb, priv->channel_layout);
av_log(outlink->src, AV_LOG_INFO, av_log(outlink->src, AV_LOG_INFO,
"sample_rate:%d channel_layout:%"PRId64 " channel_layout_description:'%s' nb_samples:%d\n", "sample_rate:%d channel_layout:'%s' nb_samples:%d\n",
priv->sample_rate, priv->channel_layout, buf, priv->nb_samples); priv->sample_rate, buf, priv->nb_samples);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment