mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00:00
lavfi/graphdump: fix output for unknown layouts.
This commit is contained in:
parent
0eb56a085d
commit
7a71544f9d
@ -45,7 +45,7 @@ static int print_link_prop(AVBPrint *buf, AVFilterLink *link)
|
||||
|
||||
case AVMEDIA_TYPE_AUDIO:
|
||||
av_get_channel_layout_string(layout, sizeof(layout),
|
||||
-1, link->channel_layout);
|
||||
link->channels, link->channel_layout);
|
||||
format = av_x_if_null(av_get_sample_fmt_name(link->format), "?");
|
||||
av_bprintf(buf, "[%dHz %s:%s]",
|
||||
(int)link->sample_rate, format, layout);
|
||||
|
Loading…
Reference in New Issue
Block a user