mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 16:52:31 +00:00
avfilter/avf_showspectrum: filter support all channel counts
This commit is contained in:
parent
a64e250680
commit
ce23794b91
@ -371,7 +371,7 @@ static int query_formats(AVFilterContext *ctx)
|
||||
if ((ret = ff_formats_ref(formats, &inlink->outcfg.formats)) < 0)
|
||||
return ret;
|
||||
|
||||
layouts = ff_all_channel_layouts();
|
||||
layouts = ff_all_channel_counts();
|
||||
if ((ret = ff_channel_layouts_ref(layouts, &inlink->outcfg.channel_layouts)) < 0)
|
||||
return ret;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user