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
af7b89e0
Commit
af7b89e0
authored
Jan 27, 2015
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: document assumptions about the input and output labels of a filter graph description
parent
d11fcf73
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
filters.texi
doc/filters.texi
+4
-0
avfilter.h
libavfilter/avfilter.h
+4
-0
No files found.
doc/filters.texi
View file @
af7b89e0
...
@@ -195,6 +195,10 @@ instance two input pads. The first output pad of split is labelled
...
@@ -195,6 +195,10 @@ instance two input pads. The first output pad of split is labelled
output pad of split is linked to the second input pad of overlay,
output pad of split is linked to the second input pad of overlay,
which are both unlabelled.
which are both unlabelled.
In a filter description, if the input label of the first filter is not
specified, "in" is assumed; if the output label of the last filter is not
specified, "out" is assumed.
In a complete filterchain all the unlabelled filter input and output
In a complete filterchain all the unlabelled filter input and output
pads must be connected. A filtergraph is considered valid if all the
pads must be connected. A filtergraph is considered valid if all the
filter input and output pads of all the filterchains are connected.
filter input and output pads of all the filterchains are connected.
...
...
libavfilter/avfilter.h
View file @
af7b89e0
...
@@ -1419,6 +1419,10 @@ int avfilter_graph_parse(AVFilterGraph *graph, const char *filters,
...
@@ -1419,6 +1419,10 @@ int avfilter_graph_parse(AVFilterGraph *graph, const char *filters,
/**
/**
* Add a graph described by a string to a graph.
* Add a graph described by a string to a graph.
*
*
* In the graph filters description, if the input label of the first
* filter is not specified, "in" is assumed; if the output label of
* the last filter is not specified, "out" is assumed.
*
* @param graph the filter graph where to link the parsed graph context
* @param graph the filter graph where to link the parsed graph context
* @param filters string to be parsed
* @param filters string to be parsed
* @param inputs pointer to a linked list to the inputs of the graph, may be NULL.
* @param inputs pointer to a linked list to the inputs of the graph, may be NULL.
...
...
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