Commit e6aee467 authored by Nicolas George's avatar Nicolas George

af_amerge: set samples rate in query_formats.

parent e15f1286
...@@ -106,6 +106,7 @@ static int query_formats(AVFilterContext *ctx) ...@@ -106,6 +106,7 @@ static int query_formats(AVFilterContext *ctx)
layouts = NULL; layouts = NULL;
ff_add_channel_layout(&layouts, outlayout); ff_add_channel_layout(&layouts, outlayout);
ff_channel_layouts_ref(layouts, &ctx->outputs[0]->in_channel_layouts); ff_channel_layouts_ref(layouts, &ctx->outputs[0]->in_channel_layouts);
ff_set_common_samplerates(ctx, ff_all_samplerates());
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment