mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 18:09:36 +00:00
avfiltergraph: set deprecated filter_count.
This commit is contained in:
parent
bcc9432898
commit
6d0546bbaf
@ -69,6 +69,10 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
|
|||||||
graph->filters = filters;
|
graph->filters = filters;
|
||||||
graph->filters[graph->nb_filters++] = filter;
|
graph->filters[graph->nb_filters++] = filter;
|
||||||
|
|
||||||
|
#if FF_API_FOO_COUNT
|
||||||
|
graph->filter_count = graph->nb_filters;
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user