Unified · Split
| @@ -386,9 +386,9 @@ static int config_output(AVFilterLink *outlink) · 385 unmodified lines | |||
| 386 | return 0; | 386 | return 0; |
| 387 | } | 387 | } |
| 388 | 388 | ||
| 389 | #if CONFIG_GRAPHMONITOR_FILTER | 389 | AVFILTER_DEFINE_CLASS_EXT(graphmonitor, "(a)graphmonitor", graphmonitor_options); |
| 390 | 390 | ||
| 391 | AVFILTER_DEFINE_CLASS(graphmonitor); | 391 | #if CONFIG_GRAPHMONITOR_FILTER |
| 392 | 392 | ||
| 393 | static const AVFilterPad graphmonitor_inputs[] = { | 393 | static const AVFilterPad graphmonitor_inputs[] = { |
| 394 | { | 394 | { |
| @@ -420,9 +420,6 @@ const AVFilter ff_vf_graphmonitor = { · 25 unmodified lines | |||
| 420 | 420 | ||
| 421 | #if CONFIG_AGRAPHMONITOR_FILTER | 421 | #if CONFIG_AGRAPHMONITOR_FILTER |
| 422 | 422 | ||
| 423 | #define agraphmonitor_options graphmonitor_options | ||
| 424 | AVFILTER_DEFINE_CLASS(agraphmonitor); | ||
| 425 | |||
| 426 | static const AVFilterPad agraphmonitor_inputs[] = { | 423 | static const AVFilterPad agraphmonitor_inputs[] = { |
| 427 | { | 424 | { |
| 428 | .name = "default", | 425 | .name = "default", |
| @@ -441,8 +438,8 @@ static const AVFilterPad agraphmonitor_outputs[] = { · 12 unmodified lines | |||
| 441 | const AVFilter ff_avf_agraphmonitor = { | 438 | const AVFilter ff_avf_agraphmonitor = { |
| 442 | .name = "agraphmonitor", | 439 | .name = "agraphmonitor", |
| 443 | .description = NULL_IF_CONFIG_SMALL("Show various filtergraph stats."), | 440 | .description = NULL_IF_CONFIG_SMALL("Show various filtergraph stats."), |
| 441 | .priv_class = &graphmonitor_class, | ||
| 444 | .priv_size = sizeof(GraphMonitorContext), | 442 | .priv_size = sizeof(GraphMonitorContext), |
| 445 | .priv_class = &agraphmonitor_class, | ||
| 446 | .query_formats = query_formats, | 443 | .query_formats = query_formats, |
| 447 | .activate = activate, | 444 | .activate = activate, |
| 448 | FILTER_INPUTS(agraphmonitor_inputs), | 445 | FILTER_INPUTS(agraphmonitor_inputs), |