Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -386,9 +386,9 @@ static int config_output(AVFilterLink *outlink) · 385 unmodified lines | ||
| 386 | 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 | 393 | static const AVFilterPad graphmonitor_inputs[] = { |
| 394 | 394 | { |
| @@ -420,9 +420,6 @@ const AVFilter ff_vf_graphmonitor = { · 25 unmodified lines | ||
| 420 | 420 | |
| 421 | 421 | #if CONFIG_AGRAPHMONITOR_FILTER |
| 422 | 422 | |
| 423 | −#define agraphmonitor_options graphmonitor_options | |
| 424 | −AVFILTER_DEFINE_CLASS(agraphmonitor); | |
| 425 | − | |
| 426 | 423 | static const AVFilterPad agraphmonitor_inputs[] = { |
| 427 | 424 | { |
| 428 | 425 | .name = "default", |
| @@ -441,8 +438,8 @@ static const AVFilterPad agraphmonitor_outputs[] = { · 12 unmodified lines | ||
| 441 | 438 | const AVFilter ff_avf_agraphmonitor = { |
| 442 | 439 | .name = "agraphmonitor", |
| 443 | 440 | .description = NULL_IF_CONFIG_SMALL("Show various filtergraph stats."), |
| 441 | + .priv_class = &graphmonitor_class, | |
| 444 | 442 | .priv_size = sizeof(GraphMonitorContext), |
| 445 | − .priv_class = &agraphmonitor_class, | |
| 446 | 443 | .query_formats = query_formats, |
| 447 | 444 | .activate = activate, |
| 448 | 445 | FILTER_INPUTS(agraphmonitor_inputs), |