mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
avfilter/f_cue: Deduplicate AVClasses
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
974e8262c9
commit
601e3da1d5
@ -94,10 +94,9 @@ static const AVOption options[] = {
|
|||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
#if CONFIG_CUE_FILTER
|
AVFILTER_DEFINE_CLASS_EXT(cue_acue, "(a)cue", options);
|
||||||
#define cue_options options
|
|
||||||
AVFILTER_DEFINE_CLASS(cue);
|
|
||||||
|
|
||||||
|
#if CONFIG_CUE_FILTER
|
||||||
static const AVFilterPad cue_inputs[] = {
|
static const AVFilterPad cue_inputs[] = {
|
||||||
{
|
{
|
||||||
.name = "default",
|
.name = "default",
|
||||||
@ -115,8 +114,8 @@ static const AVFilterPad cue_outputs[] = {
|
|||||||
const AVFilter ff_vf_cue = {
|
const AVFilter ff_vf_cue = {
|
||||||
.name = "cue",
|
.name = "cue",
|
||||||
.description = NULL_IF_CONFIG_SMALL("Delay filtering to match a cue."),
|
.description = NULL_IF_CONFIG_SMALL("Delay filtering to match a cue."),
|
||||||
|
.priv_class = &cue_acue_class,
|
||||||
.priv_size = sizeof(CueContext),
|
.priv_size = sizeof(CueContext),
|
||||||
.priv_class = &cue_class,
|
|
||||||
FILTER_INPUTS(cue_inputs),
|
FILTER_INPUTS(cue_inputs),
|
||||||
FILTER_OUTPUTS(cue_outputs),
|
FILTER_OUTPUTS(cue_outputs),
|
||||||
.activate = activate,
|
.activate = activate,
|
||||||
@ -124,9 +123,6 @@ const AVFilter ff_vf_cue = {
|
|||||||
#endif /* CONFIG_CUE_FILTER */
|
#endif /* CONFIG_CUE_FILTER */
|
||||||
|
|
||||||
#if CONFIG_ACUE_FILTER
|
#if CONFIG_ACUE_FILTER
|
||||||
#define acue_options options
|
|
||||||
AVFILTER_DEFINE_CLASS(acue);
|
|
||||||
|
|
||||||
static const AVFilterPad acue_inputs[] = {
|
static const AVFilterPad acue_inputs[] = {
|
||||||
{
|
{
|
||||||
.name = "default",
|
.name = "default",
|
||||||
@ -144,8 +140,8 @@ static const AVFilterPad acue_outputs[] = {
|
|||||||
const AVFilter ff_af_acue = {
|
const AVFilter ff_af_acue = {
|
||||||
.name = "acue",
|
.name = "acue",
|
||||||
.description = NULL_IF_CONFIG_SMALL("Delay filtering to match a cue."),
|
.description = NULL_IF_CONFIG_SMALL("Delay filtering to match a cue."),
|
||||||
|
.priv_class = &cue_acue_class,
|
||||||
.priv_size = sizeof(CueContext),
|
.priv_size = sizeof(CueContext),
|
||||||
.priv_class = &acue_class,
|
|
||||||
FILTER_INPUTS(acue_inputs),
|
FILTER_INPUTS(acue_inputs),
|
||||||
FILTER_OUTPUTS(acue_outputs),
|
FILTER_OUTPUTS(acue_outputs),
|
||||||
.activate = activate,
|
.activate = activate,
|
||||||
|
Loading…
Reference in New Issue
Block a user