mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
Merge commit '111367263af41c88a44bd763ceefc11d53a7f655'
* commit '111367263af41c88a44bd763ceefc11d53a7f655': lavfi: add AVFilterContext.graph. Conflicts: libavfilter/avfilter.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -88,6 +88,8 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
|
||||
graph->filter_count_unused = graph->nb_filters;
|
||||
#endif
|
||||
|
||||
filter->graph = graph;
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
@@ -143,6 +145,8 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph,
|
||||
graph->filter_count_unused = graph->nb_filters;
|
||||
#endif
|
||||
|
||||
s->graph = graph;
|
||||
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user