History

avfilter/f_graphmonitor: Deduplicate AVClasses

Andreas Rheinhardt committed 5 years ago

Commit 0eb1f451 parent 9ceec281 file · +3 −6Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/f_graphmonitor.c+3−6
@@ -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_FILTER389AVFILTER_DEFINE_CLASS_EXT(graphmonitor, "(a)graphmonitor", graphmonitor_options);
390 390
391AVFILTER_DEFINE_CLASS(graphmonitor);391#if CONFIG_GRAPHMONITOR_FILTER
392 392
393static const AVFilterPad graphmonitor_inputs[] = {393static const AVFilterPad graphmonitor_inputs[] = {
394 {394 {
@@ -420,9 +420,6 @@ const AVFilter ff_vf_graphmonitor = { · 25 unmodified lines
420 420
421#if CONFIG_AGRAPHMONITOR_FILTER421#if CONFIG_AGRAPHMONITOR_FILTER
422 422
423#define agraphmonitor_options graphmonitor_options
424AVFILTER_DEFINE_CLASS(agraphmonitor);
425
426static const AVFilterPad agraphmonitor_inputs[] = {423static const AVFilterPad agraphmonitor_inputs[] = {
427 {424 {
428 .name = "default",425 .name = "default",
@@ -441,8 +438,8 @@ static const AVFilterPad agraphmonitor_outputs[] = { · 12 unmodified lines
441const AVFilter ff_avf_agraphmonitor = {438const 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),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t