summaryrefslogtreecommitdiff
path: root/libavfilter/avfiltergraph.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-03-18 11:27:38 +0100
committerAnton Khirnov <anton@khirnov.net>2012-04-01 09:03:35 +0200
commit996f9f0c3280552d293c3dbe4266938927fd5908 (patch)
treeb131ed11f438af4febbe9e46e8181ee1de923413 /libavfilter/avfiltergraph.h
parentddb4431208745ea270dce8fce4cba999f0ed4303 (diff)
avfiltergraph: add an AVClass to AVFilterGraph on next major bump.
It will be used for logging, possibly also AVOptions.
Diffstat (limited to 'libavfilter/avfiltergraph.h')
-rw-r--r--libavfilter/avfiltergraph.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h
index f9cf5cd3f9..733d1c4a51 100644
--- a/libavfilter/avfiltergraph.h
+++ b/libavfilter/avfiltergraph.h
@@ -23,8 +23,12 @@
#define AVFILTER_AVFILTERGRAPH_H
#include "avfilter.h"
+#include "libavutil/log.h"
typedef struct AVFilterGraph {
+#if FF_API_GRAPH_AVCLASS
+ const AVClass *av_class;
+#endif
unsigned filter_count;
AVFilterContext **filters;