mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
af_amerge: set samples rate in query_formats.
This commit is contained in:
parent
e15f1286e6
commit
e6aee46760
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user