Revision 4d96a914 libavfilter/avfilter.h

View differences:

libavfilter/avfilter.h
149 149

  
150 150
    int priv_size;
151 151

  
152
    int (*init)(AVFilterContext *ctx);
152
    /**
153
     * Filter initialization function.  Args contains the user-supplied
154
     * parameters.  FIXME: maybe an AVOption-based system would be better?
155
     */
156
    int (*init)(AVFilterContext *ctx, const char *args);
153 157
    void (*uninit)(AVFilterContext *ctx);
154 158

  
155 159
    const AVFilterPad *inputs;  /// NULL terminated list of inputs. NULL if none
......
199 203

  
200 204
AVFilterContext *avfilter_create(AVFilter *filter);
201 205
AVFilterContext *avfilter_create_by_name(char *name);
202
int avfilter_init_filter(AVFilterContext *filter);
206
int avfilter_init_filter(AVFilterContext *filter, const char *args);
203 207
void avfilter_destroy(AVFilterContext *filter);
204 208

  
205 209
#endif  /* FFMPEG_AVFILTER_H */

Also available in: Unified diff