|
|
@ -98,10 +98,8 @@ static int config_props(AVFilterLink *outlink) |
|
|
|
{ |
|
|
|
{ |
|
|
|
ANullContext *null = outlink->src->priv; |
|
|
|
ANullContext *null = outlink->src->priv; |
|
|
|
char buf[128]; |
|
|
|
char buf[128]; |
|
|
|
int chans_nb; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chans_nb = av_get_channel_layout_nb_channels(null->channel_layout); |
|
|
|
av_get_channel_layout_string(buf, sizeof(buf), 0, null->channel_layout); |
|
|
|
av_get_channel_layout_string(buf, sizeof(buf), chans_nb, null->channel_layout); |
|
|
|
|
|
|
|
av_log(outlink->src, AV_LOG_VERBOSE, |
|
|
|
av_log(outlink->src, AV_LOG_VERBOSE, |
|
|
|
"sample_rate:%d channel_layout:'%s' nb_samples:%d\n", |
|
|
|
"sample_rate:%d channel_layout:'%s' nb_samples:%d\n", |
|
|
|
null->sample_rate, buf, null->nb_samples); |
|
|
|
null->sample_rate, buf, null->nb_samples); |
|
|
|