mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 20:50:09 +00:00
Support passing parameters to filters.
Commited in SoC by Bobby Bingham on 2007-07-02 15:17:22 Originally committed as revision 11973 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
92beffdc92
commit
89e64908a3
@ -257,12 +257,12 @@ AVFilterContext *avfilter_create_by_name(char *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]);
|
||||
|
Loading…
Reference in New Issue
Block a user