diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:12:54 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-02-15 22:12:54 +0000 |
commit | dcea24825f4f8f08ececd5c08dcf0e916ed52eff (patch) | |
tree | 7b4038036b05869ff17deff162b19fce54960225 /libavfilter/avfilter.h | |
parent | 1a18860a8ffe22b0d2f05637ccd02d80745e121e (diff) | |
download | ffmpeg-dcea24825f4f8f08ececd5c08dcf0e916ed52eff.tar.gz |
Allow giving filter instances names, in anticipation of the upcoming
AVFilterGraph structure and related functions.
Commited in SoC by Bobby Bingham on 2007-07-14 19:33:28
Originally committed as revision 12084 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 5f4968bb38..675da11fee 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -180,6 +180,8 @@ struct AVFilterContext AVFilter *filter; + char *name; + AVFilterLink **inputs; AVFilterLink **outputs; @@ -216,8 +218,8 @@ void avfilter_uninit(void); void avfilter_register(AVFilter *filter); AVFilter *avfilter_get_by_name(char *name); -AVFilterContext *avfilter_create(AVFilter *filter); -AVFilterContext *avfilter_create_by_name(char *name); +AVFilterContext *avfilter_create(AVFilter *filter, char *inst_name); +AVFilterContext *avfilter_create_by_name(char *name, char *inst_name); int avfilter_init_filter(AVFilterContext *filter, const char *args); void avfilter_destroy(AVFilterContext *filter); |