Allow giving filter instances names, in anticipation of the upcoming
authorVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 22:12:54 +0000 (22:12 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 22:12:54 +0000 (22:12 +0000)
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

libavfilter/avfilter.h

index 5f4968b..675da11 100644 (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);