avfilter/avf_showspectrum: filter support all channel counts

This commit is contained in:
Paul B Mahol 2022-04-23 19:09:30 +02:00
parent a64e250680
commit ce23794b91
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ static int query_formats(AVFilterContext *ctx)
if ((ret = ff_formats_ref(formats, &inlink->outcfg.formats)) < 0) if ((ret = ff_formats_ref(formats, &inlink->outcfg.formats)) < 0)
return ret; return ret;
layouts = ff_all_channel_layouts(); layouts = ff_all_channel_counts();
if ((ret = ff_channel_layouts_ref(layouts, &inlink->outcfg.channel_layouts)) < 0) if ((ret = ff_channel_layouts_ref(layouts, &inlink->outcfg.channel_layouts)) < 0)
return ret; return ret;