diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-08-09 16:59:10 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-08-13 02:04:06 +0400 |
commit | 5c0d8bc4cea23cfe85c082a03871cf73190813fb (patch) | |
tree | d9020fdf476174054217f51a6996e01fe497fc35 /libavfilter/avfilter.h | |
parent | a25346e65cc2f46e3a9ec1a12312a09cd9b132ed (diff) |
lavfi: add avfilter_get_class() and iteration callbacks
Allow iteration over filter options.
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 54a0b97897..07bc5a986b 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -47,6 +47,10 @@ const char *avfilter_configuration(void); */ const char *avfilter_license(void); +/** + * Get the class for the AVFilterContext struct. + */ +const AVClass *avfilter_get_class(void); typedef struct AVFilterContext AVFilterContext; typedef struct AVFilterLink AVFilterLink; @@ -469,6 +473,8 @@ typedef struct AVFilter { * used for providing binary data. */ int (*init_opaque)(AVFilterContext *ctx, const char *args, void *opaque); + + const AVClass *priv_class; ///< private class, containing filter specific options } AVFilter; /** An instance of a filter */ |