diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-02-25 21:21:29 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-04-09 18:45:50 +0200 |
commit | 4fa1f52e33b70029e2b621852f3af7c1ef9aecff (patch) | |
tree | b10b0e58b3d71ab977510bd477beaf9f3fb61e52 /libavfilter/avfilter.h | |
parent | b439c992c23f3e0f3832fffd2a34a664b236c525 (diff) |
af_resample: switch to an AVOptions-based system.
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 66f57df150..5208c2a2a3 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -409,6 +409,13 @@ typedef struct AVFilter { int (*init)(AVFilterContext *ctx, const char *args); /** + * Should be set instead of init by the filters that want to pass a + * dictionary of AVOptions to nested contexts that are allocated in + * init. + */ + int (*init_dict)(AVFilterContext *ctx, AVDictionary **options); + + /** * Filter uninitialization function. Should deallocate any memory held * by the filter, release any buffer references, etc. This does not need * to deallocate the AVFilterContext->priv memory itself. |