[FFmpeg-cvslog] r11973 - trunk/libavfilter/avfilter.c
vitor
subversion
Fri Feb 15 22:35:43 CET 2008
Author: vitor
Date: Fri Feb 15 22:35:43 2008
New Revision: 11973
Log:
Support passing parameters to filters.
Commited in SoC by Bobby Bingham on 2007-07-02 15:17:22
Modified:
trunk/libavfilter/avfilter.c
Modified: trunk/libavfilter/avfilter.c
==============================================================================
--- trunk/libavfilter/avfilter.c (original)
+++ trunk/libavfilter/avfilter.c Fri Feb 15 22:35:43 2008
@@ -257,12 +257,12 @@ AVFilterContext *avfilter_create_by_name
return avfilter_create(filt);
}
-int avfilter_init_filter(AVFilterContext *filter)
+int avfilter_init_filter(AVFilterContext *filter, const char *args)
{
int ret, i;
if(filter->filter->init)
- if((ret = filter->filter->init(filter))) return ret;
+ if((ret = filter->filter->init(filter, args))) return ret;
for(i = 0; i < pad_count(filter->filter->outputs); i ++)
if(filter->outputs[i])
filter->filter->outputs[i].set_video_props(filter->outputs[i]);
More information about the ffmpeg-cvslog
mailing list