mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +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:
commit
4fde705396
@ -161,6 +161,8 @@ API changes, most recent first:
|
|||||||
avfilterhraph.h, user applications should include just avfilter.h
|
avfilterhraph.h, user applications should include just avfilter.h
|
||||||
Add avfilter_graph_alloc_filter(), deprecate avfilter_open() and
|
Add avfilter_graph_alloc_filter(), deprecate avfilter_open() and
|
||||||
avfilter_graph_add_filter().
|
avfilter_graph_add_filter().
|
||||||
|
Add AVFilterContext.graph pointing to the AVFilterGraph that contains the
|
||||||
|
filter.
|
||||||
|
|
||||||
2013-xx-xx - lavfi 3.7.0 - avfilter.h
|
2013-xx-xx - lavfi 3.7.0 - avfilter.h
|
||||||
Add AVFilter.priv_class for exporting filter options through the AVOptions API
|
Add AVFilter.priv_class for exporting filter options through the AVOptions API
|
||||||
|
@ -527,6 +527,8 @@ struct AVFilterContext {
|
|||||||
|
|
||||||
void *priv; ///< private data for use by the filter
|
void *priv; ///< private data for use by the filter
|
||||||
|
|
||||||
|
struct AVFilterGraph *graph; ///< filtergraph this filter belongs to
|
||||||
|
|
||||||
struct AVFilterCommand *command_queue;
|
struct AVFilterCommand *command_queue;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -88,6 +88,8 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
|
|||||||
graph->filter_count_unused = graph->nb_filters;
|
graph->filter_count_unused = graph->nb_filters;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
filter->graph = graph;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -143,6 +145,8 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph,
|
|||||||
graph->filter_count_unused = graph->nb_filters;
|
graph->filter_count_unused = graph->nb_filters;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
s->graph = graph;
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user