1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avfilter/af_ashowinfo: properly show input channel layout for unknown channel layouts

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Marton Balint
2016-12-03 20:06:14 +01:00
parent 01a19f77ca
commit df694a5e9d

View File

@@ -199,7 +199,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf)
s->plane_checksums[0]; s->plane_checksums[0];
} }
av_get_channel_layout_string(chlayout_str, sizeof(chlayout_str), -1, av_get_channel_layout_string(chlayout_str, sizeof(chlayout_str), av_frame_get_channels(buf),
buf->channel_layout); buf->channel_layout);
av_log(ctx, AV_LOG_INFO, av_log(ctx, AV_LOG_INFO,