ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Sat Apr 23 19:09:30 
2022 +0200| [ce23794b91031162da365a0d389fd0330cdb9486] | committer: Paul B Mahol

avfilter/avf_showspectrum: filter support all channel counts

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

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

diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c
index 00fca02e1b..b111471116 100644
--- a/libavfilter/avf_showspectrum.c
+++ b/libavfilter/avf_showspectrum.c
@@ -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;
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to