History

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.

Anton Khirnov committed 13 years ago

Commit c2c98011 parent bc1a9853 files · +10 −1Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 3 files). Show all

Unified · Split

libavfilter/avfiltergraph.c+2−0
@@ -58,6 +58,7 @@ void avfilter_graph_free(AVFilterGraph **graph) · 57 unmodified lines
58 av_freep(graph);58 av_freep(graph);
59}59}
60 60
61#if FF_API_AVFILTER_OPEN
61int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)62int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
62{63{
63 AVFilterContext **filters = av_realloc(graph->filters,64 AVFilterContext **filters = av_realloc(graph->filters,
@@ -74,6 +75,7 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter) · 10 unmodified lines
74 75
75 return 0;76 return 0;
76}77}
78#endif
77 79
78int avfilter_graph_create_filter(AVFilterContext **filt_ctx, AVFilter *filt,80int avfilter_graph_create_filter(AVFilterContext **filt_ctx, AVFilter *filt,
79 const char *name, const char *args, void *opaque,81 const char *name, const char *args, void *opaque,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t