Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
4ec42240
Commit
4ec42240
authored
15 years ago
by
Stefano Sabatini
Browse files
Options
Downloads
Patches
Plain Diff
Implement avfilter_graph_config_links().
Originally committed as revision 19066 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
c70ac8e7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libavfilter/avfiltergraph.c
+17
-0
17 additions, 0 deletions
libavfilter/avfiltergraph.c
libavfilter/avfiltergraph.h
+7
-0
7 additions, 0 deletions
libavfilter/avfiltergraph.h
with
24 additions
and
0 deletions
libavfilter/avfiltergraph.c
+
17
−
0
View file @
4ec42240
...
@@ -77,6 +77,23 @@ int avfilter_graph_check_validity(AVFilterGraph *graph, AVClass *log_ctx)
...
@@ -77,6 +77,23 @@ int avfilter_graph_check_validity(AVFilterGraph *graph, AVClass *log_ctx)
return
0
;
return
0
;
}
}
int
avfilter_graph_config_links
(
AVFilterGraph
*
graph
,
AVClass
*
log_ctx
)
{
AVFilterContext
*
filt
;
int
i
,
ret
;
for
(
i
=
0
;
i
<
graph
->
filter_count
;
i
++
)
{
filt
=
graph
->
filters
[
i
];
if
(
!
filt
->
output_count
)
{
if
((
ret
=
avfilter_config_links
(
filt
)))
return
ret
;
}
}
return
0
;
}
AVFilterContext
*
avfilter_graph_get_filter
(
AVFilterGraph
*
graph
,
char
*
name
)
AVFilterContext
*
avfilter_graph_get_filter
(
AVFilterGraph
*
graph
,
char
*
name
)
{
{
int
i
;
int
i
;
...
...
This diff is collapsed.
Click to expand it.
libavfilter/avfiltergraph.h
+
7
−
0
View file @
4ec42240
...
@@ -56,6 +56,13 @@ int avfilter_graph_add_filter(AVFilterGraph *graphctx, AVFilterContext *filter);
...
@@ -56,6 +56,13 @@ int avfilter_graph_add_filter(AVFilterGraph *graphctx, AVFilterContext *filter);
*/
*/
int
avfilter_graph_check_validity
(
AVFilterGraph
*
graphctx
,
AVClass
*
log_ctx
);
int
avfilter_graph_check_validity
(
AVFilterGraph
*
graphctx
,
AVClass
*
log_ctx
);
/**
* Configures all the links of graphctx.
*
* @return 0 in case of success, a negative value otherwise
*/
int
avfilter_graph_config_links
(
AVFilterGraph
*
graphctx
,
AVClass
*
log_ctx
);
/**
/**
* Configures the formats of all the links in the graph.
* Configures the formats of all the links in the graph.
*/
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment