summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-10-27 19:42:07 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-10-27 19:42:07 +0000
commit243110f968edf510a4233cb1b8d52b35f919136c (patch)
tree50b89817a6a542382869794ac273c392e7a2ed29 /libavfilter/avfilter.h
parent77f66963b08d3c89c997169581eedbd3fbb0e8aa (diff)
Add a field 'next' to AVFilter.
Simplify the registration and iteration of all the registered filters, consistent with what is done with formats / codecs. Originally committed as revision 20385 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index c66d8f896c..e66bf7e091 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -23,8 +23,8 @@
#define AVFILTER_AVFILTER_H
#define LIBAVFILTER_VERSION_MAJOR 1
-#define LIBAVFILTER_VERSION_MINOR 4
-#define LIBAVFILTER_VERSION_MICRO 1
+#define LIBAVFILTER_VERSION_MINOR 5
+#define LIBAVFILTER_VERSION_MICRO 0
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
LIBAVFILTER_VERSION_MINOR, \
@@ -374,7 +374,7 @@ int avfilter_default_query_formats(AVFilterContext *ctx);
* Filter definition. This defines the pads a filter contains, and all the
* callback functions used to interact with the filter.
*/
-typedef struct
+typedef struct AVFilter
{
const char *name; ///< filter name
@@ -412,6 +412,11 @@ typedef struct
* NULL_IF_CONFIG_SMALL() macro to define it.
*/
const char *description;
+
+ /**
+ * The next registered filter, NULL if this is the last one.
+ */
+ struct AVFilter *next;
} AVFilter;
/** An instance of a filter */