Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
11136726
Commit
11136726
authored
Mar 31, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: add AVFilterContext.graph.
It will be useful in the following commits.
parent
c2c9801b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
APIchanges
doc/APIchanges
+2
-0
avfilter.h
libavfilter/avfilter.h
+2
-0
avfiltergraph.c
libavfilter/avfiltergraph.c
+4
-0
No files found.
doc/APIchanges
View file @
11136726
...
...
@@ -18,6 +18,8 @@ API changes, most recent first:
avfilterhraph.h, user applications should include just avfilter.h
Add avfilter_graph_alloc_filter(), deprecate avfilter_open() and
avfilter_graph_add_filter().
Add AVFilterContext.graph pointing to the AVFilterGraph that contains the
filter.
2013-xx-xx - lavfi 3.7.0 - avfilter.h
Add AVFilter.priv_class for exporting filter options through the AVOptions API
...
...
libavfilter/avfilter.h
View file @
11136726
...
...
@@ -458,6 +458,8 @@ struct AVFilterContext {
unsigned
nb_outputs
;
///< number of output pads
void
*
priv
;
///< private data for use by the filter
struct
AVFilterGraph
*
graph
;
///< filtergraph this filter belongs to
};
/**
...
...
libavfilter/avfiltergraph.c
View file @
11136726
...
...
@@ -73,6 +73,8 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
graph
->
filter_count
=
graph
->
nb_filters
;
#endif
filter
->
graph
=
graph
;
return
0
;
}
#endif
...
...
@@ -121,6 +123,8 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph,
graph
->
filter_count
=
graph
->
nb_filters
;
#endif
s
->
graph
=
graph
;
return
s
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment