mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-23 11:39:49 +00:00
lavfi/apad: switch to AVOption-based system
This commit is contained in:
parent
2b17e58163
commit
a5ce5ac9fb
@ -144,8 +144,6 @@ static const AVFilterPad apad_outputs[] = {
|
||||
{ NULL },
|
||||
};
|
||||
|
||||
static const char *const shorthand[] = { NULL };
|
||||
|
||||
AVFilter avfilter_af_apad = {
|
||||
.name = "apad",
|
||||
.description = NULL_IF_CONFIG_SMALL("Pad audio with silence."),
|
||||
@ -154,5 +152,4 @@ AVFilter avfilter_af_apad = {
|
||||
.inputs = apad_inputs,
|
||||
.outputs = apad_outputs,
|
||||
.priv_class = &apad_class,
|
||||
.shorthand = shorthand,
|
||||
};
|
||||
|
@ -658,6 +658,7 @@ int avfilter_init_filter(AVFilterContext *filter, const char *args, void *opaque
|
||||
int anton_options =
|
||||
!strcmp(filter->filter->name, "afade" ) ||
|
||||
!strcmp(filter->filter->name, "aformat") ||
|
||||
!strcmp(filter->filter->name, "apad" ) ||
|
||||
!strcmp(filter->filter->name, "ass") ||
|
||||
!strcmp(filter->filter->name, "blackframe") ||
|
||||
!strcmp(filter->filter->name, "blend" ) ||
|
||||
|
Loading…
Reference in New Issue
Block a user