af_amerge: set samples rate in query_formats.

This commit is contained in:
Nicolas George 2012-05-23 12:58:15 +02:00
parent e15f1286e6
commit e6aee46760

View File

@ -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;
}