diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-11-24 23:58:48 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-11-24 23:58:48 +0000 |
commit | 1433c4abf2f9ce787a7a5ccd4d4a07fd49a829c4 (patch) | |
tree | cb3178a4ec47263e8e593aef564ba00dbd7e2439 /libavfilter/avfilter.h | |
parent | 73e2247d32efd2383dbac0fb7f82024c060330ba (diff) | |
download | ffmpeg-1433c4abf2f9ce787a7a5ccd4d4a07fd49a829c4.tar.gz |
Implement avfilter_next().
Originally committed as revision 20607 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index e2731336cc..f08f7b0a29 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -25,7 +25,7 @@ #include "libavutil/avutil.h" #define LIBAVFILTER_VERSION_MAJOR 1 -#define LIBAVFILTER_VERSION_MINOR 9 +#define LIBAVFILTER_VERSION_MINOR 10 #define LIBAVFILTER_VERSION_MICRO 0 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ @@ -595,6 +595,14 @@ int avfilter_register(AVFilter *filter); AVFilter *avfilter_get_by_name(const char *name); /** + * If filter is NULL, returns a pointer to the first registered filter pointer, + * if filter is non-NULL, returns the next pointer after filter. + * If the returned pointer points to NULL, the last registered filter + * was already reached. + */ +AVFilter **av_filter_next(AVFilter **filter); + +/** * Creates a filter instance. * @param filter the filter to create an instance of * @param inst_name Name to give to the new instance. Can be NULL for none. |