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
11136726
Commit
11136726
authored
12 years ago
by
Anton Khirnov
Browse files
Options
Downloads
Patches
Plain Diff
lavfi: add AVFilterContext.graph.
It will be useful in the following commits.
parent
c2c9801b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/APIchanges
+2
-0
2 additions, 0 deletions
doc/APIchanges
libavfilter/avfilter.h
+2
-0
2 additions, 0 deletions
libavfilter/avfilter.h
libavfilter/avfiltergraph.c
+4
-0
4 additions, 0 deletions
libavfilter/avfiltergraph.c
with
8 additions
and
0 deletions
doc/APIchanges
+
2
−
0
View file @
11136726
...
@@ -18,6 +18,8 @@ API changes, most recent first:
...
@@ -18,6 +18,8 @@ API changes, most recent first:
avfilterhraph.h, user applications should include just avfilter.h
avfilterhraph.h, user applications should include just avfilter.h
Add avfilter_graph_alloc_filter(), deprecate avfilter_open() and
Add avfilter_graph_alloc_filter(), deprecate avfilter_open() and
avfilter_graph_add_filter().
avfilter_graph_add_filter().
Add AVFilterContext.graph pointing to the AVFilterGraph that contains the
filter.
2013-xx-xx - lavfi 3.7.0 - avfilter.h
2013-xx-xx - lavfi 3.7.0 - avfilter.h
Add AVFilter.priv_class for exporting filter options through the AVOptions API
Add AVFilter.priv_class for exporting filter options through the AVOptions API
...
...
This diff is collapsed.
Click to expand it.
libavfilter/avfilter.h
+
2
−
0
View file @
11136726
...
@@ -458,6 +458,8 @@ struct AVFilterContext {
...
@@ -458,6 +458,8 @@ struct AVFilterContext {
unsigned
nb_outputs
;
///< number of output pads
unsigned
nb_outputs
;
///< number of output pads
void
*
priv
;
///< private data for use by the filter
void
*
priv
;
///< private data for use by the filter
struct
AVFilterGraph
*
graph
;
///< filtergraph this filter belongs to
};
};
/**
/**
...
...
This diff is collapsed.
Click to expand it.
libavfilter/avfiltergraph.c
+
4
−
0
View file @
11136726
...
@@ -73,6 +73,8 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
...
@@ -73,6 +73,8 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
graph
->
filter_count
=
graph
->
nb_filters
;
graph
->
filter_count
=
graph
->
nb_filters
;
#endif
#endif
filter
->
graph
=
graph
;
return
0
;
return
0
;
}
}
#endif
#endif
...
@@ -121,6 +123,8 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph,
...
@@ -121,6 +123,8 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph,
graph
->
filter_count
=
graph
->
nb_filters
;
graph
->
filter_count
=
graph
->
nb_filters
;
#endif
#endif
s
->
graph
=
graph
;
return
s
;
return
s
;
}
}
...
...
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