diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-31 08:31:40 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-04-11 20:36:42 +0200 |
commit | c2c9801bc9bce688d51d1a96f5f3ea93933e2dee (patch) | |
tree | 262c33c4501251bf5408995692c7d438132872f4 /libavfilter/avfilter.h | |
parent | bc1a985ba030e9861d24965d42792850b43a43ea (diff) | |
download | ffmpeg-c2c9801bc9bce688d51d1a96f5f3ea93933e2dee.tar.gz |
lavfi: deprecate avfilter_graph_add_filter().
Since this function adds a standalone filter to a filter graph and we do
not support creating such filters, there is no reason for this function
to exist.
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index abc4eae11b..94d5d6152b 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -750,13 +750,19 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph, */ AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, char *name); +#if FF_API_AVFILTER_OPEN /** * Add an existing filter instance to a filter graph. * * @param graphctx the filter graph * @param filter the filter to be added + * + * @deprecated use avfilter_graph_alloc_filter() to allocate a filter in a + * filter graph */ +attribute_deprecated int avfilter_graph_add_filter(AVFilterGraph *graphctx, AVFilterContext *filter); +#endif /** * Create and add a filter instance into an existing graph. |