Commit fc407718 authored by vitor's avatar vitor

Support passing parameters to filters.

Commited in SoC by Bobby Bingham on 2007-07-02 15:17:22


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12079 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0bf7416c
......@@ -149,7 +149,11 @@ typedef struct
int priv_size;
int (*init)(AVFilterContext *ctx);
/**
* Filter initialization function. Args contains the user-supplied
* parameters. FIXME: maybe an AVOption-based system would be better?
*/
int (*init)(AVFilterContext *ctx, const char *args);
void (*uninit)(AVFilterContext *ctx);
const AVFilterPad *inputs; /// NULL terminated list of inputs. NULL if none
......@@ -199,7 +203,7 @@ AVFilter *avfilter_get_by_name(char *name);
AVFilterContext *avfilter_create(AVFilter *filter);
AVFilterContext *avfilter_create_by_name(char *name);
int avfilter_init_filter(AVFilterContext *filter);
int avfilter_init_filter(AVFilterContext *filter, const char *args);
void avfilter_destroy(AVFilterContext *filter);
#endif /* FFMPEG_AVFILTER_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment