diff options
Diffstat (limited to 'libavfilter/f_drawgraph.c')
-rw-r--r-- | libavfilter/f_drawgraph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/f_drawgraph.c b/libavfilter/f_drawgraph.c index 9996eb3b0e..b6fcb3b75e 100644 --- a/libavfilter/f_drawgraph.c +++ b/libavfilter/f_drawgraph.c @@ -474,11 +474,11 @@ const AVFilter ff_vf_drawgraph = { .description = NULL_IF_CONFIG_SMALL("Draw a graph using input video metadata."), .priv_size = sizeof(DrawGraphContext), .priv_class = &drawgraph_class, - .query_formats = query_formats, .init = init, .uninit = uninit, FILTER_INPUTS(drawgraph_inputs), FILTER_OUTPUTS(drawgraph_outputs), + FILTER_QUERY_FUNC(query_formats), }; #endif // CONFIG_DRAWGRAPH_FILTER @@ -507,10 +507,10 @@ const AVFilter ff_avf_adrawgraph = { .description = NULL_IF_CONFIG_SMALL("Draw a graph using input audio metadata."), .priv_class = &drawgraph_class, .priv_size = sizeof(DrawGraphContext), - .query_formats = query_formats, .init = init, .uninit = uninit, FILTER_INPUTS(adrawgraph_inputs), FILTER_OUTPUTS(adrawgraph_outputs), + FILTER_QUERY_FUNC(query_formats), }; #endif // CONFIG_ADRAWGRAPH_FILTER |