[FFmpeg-cvslog] avfilter/avf_showfreqs: filter support all channel counts

Paul B Mahol git at videolan.org
Fri Apr 22 02:23:57 EEST 2022


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Apr 20 18:40:47 2022 +0200| [fd834924d79b469f2b09bc64ca7f71dbffc39059] | committer: Paul B Mahol

avfilter/avf_showfreqs: filter support all channel counts

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fd834924d79b469f2b09bc64ca7f71dbffc39059
---

 libavfilter/avf_showfreqs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/avf_showfreqs.c b/libavfilter/avf_showfreqs.c
index e50b6840dd..b2c7886985 100644
--- a/libavfilter/avf_showfreqs.c
+++ b/libavfilter/avf_showfreqs.c
@@ -120,7 +120,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;
 



More information about the ffmpeg-cvslog mailing list