[FFmpeg-cvslog] af_amerge: set samples rate in query_formats.

Nicolas George git at videolan.org
Wed May 23 15:13:34 CEST 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Wed May 23 12:58:15 2012 +0200| [e6aee46760d48e3f861f1d8e893d672fa0115ef3] | committer: Nicolas George

af_amerge: set samples rate in query_formats.

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

 libavfilter/af_amerge.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c
index 18b3046..abccfe4 100644
--- a/libavfilter/af_amerge.c
+++ b/libavfilter/af_amerge.c
@@ -106,6 +106,7 @@ static int query_formats(AVFilterContext *ctx)
     layouts = NULL;
     ff_add_channel_layout(&layouts, outlayout);
     ff_channel_layouts_ref(layouts, &ctx->outputs[0]->in_channel_layouts);
+    ff_set_common_samplerates(ctx, ff_all_samplerates());
     return 0;
 }
 



More information about the ffmpeg-cvslog mailing list