History

Merge commit '111367263af41c88a44bd763ceefc11d53a7f655'

* commit '111367263af41c88a44bd763ceefc11d53a7f655': lavfi: add AVFilterContext.graph. Conflicts: libavfilter/avfilter.h

Michael Niedermayer committed 13 years ago

Commit 4fde7052 parents 5c68e14 11136723 files · +8 −0Browse files

Unified · Split

3 files
  1. doc/APIchanges +2 −0
  2. libavfilter/avfilter.h +2 −0
  3. libavfilter/avfiltergraph.c +4 −0
doc/APIchanges+2−0
@@ -161,6 +161,8 @@ API changes, most recent first: · 160 unmodified lines
161161 avfilterhraph.h, user applications should include just avfilter.h
162162 Add avfilter_graph_alloc_filter(), deprecate avfilter_open() and
163163 avfilter_graph_add_filter().
164+ Add AVFilterContext.graph pointing to the AVFilterGraph that contains the
165+ filter.
164166
165167 2013-xx-xx - lavfi 3.7.0 - avfilter.h
166168 Add AVFilter.priv_class for exporting filter options through the AVOptions API
libavfilter/avfilter.h+2−0
@@ -527,6 +527,8 @@ struct AVFilterContext { · 526 unmodified lines
527527
528528 void *priv; ///< private data for use by the filter
529529
530+ struct AVFilterGraph *graph; ///< filtergraph this filter belongs to
531+
530532 struct AVFilterCommand *command_queue;
531533 };
532534
libavfilter/avfiltergraph.c+4−0
@@ -88,6 +88,8 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter) · 87 unmodified lines
8888 graph->filter_count_unused = graph->nb_filters;
8989 #endif
9090
91+ filter->graph = graph;
92+
9193 return 0;
9294 }
9395 #endif
@@ -143,6 +145,8 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph, · 49 unmodified lines
143145 graph->filter_count_unused = graph->nb_filters;
144146 #endif
145147
148+ s->graph = graph;
149+
146150 return s;
147151 }
148152

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