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
This commit is contained in:
Vitor Sessak 2008-02-15 22:12:54 +00:00
parent 1a18860a8f
commit dcea24825f

View File

@ -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);