aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-06-12 20:12:42 +0200
committerAnton Khirnov <anton@khirnov.net>2012-06-13 11:11:33 +0200
commit9d0bfc5052fa73ac8df89ec9992d77b07840fdf0 (patch)
tree95435f6e28872a5e859dd3e0f468dacf7815ef60 /libavfilter/avfilter.h
parent84b9fbe05578c8b4058e72bb0b203665a446a95a (diff)
downloadffmpeg-9d0bfc5052fa73ac8df89ec9992d77b07840fdf0.tar.gz
lavfi: make AVFilterPad opaque after two major bumps.
It will allow adding new fields to it without ABI breaks.
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 7ee18fbce6..157e72fe2a 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -235,8 +235,14 @@ void avfilter_set_common_formats(AVFilterContext *ctx, AVFilterFormats *formats)
*/
#endif
+#if FF_API_AVFILTERPAD_PUBLIC
/**
* A filter pad used for either input or output.
+ *
+ * @warning this struct will be removed from public API.
+ * users should call avfilter_pad_get_name() and avfilter_pad_get_type()
+ * to access the name and type fields; there should be no need to access
+ * any other fields from outside of libavfilter.
*/
struct AVFilterPad {
/**
@@ -358,6 +364,7 @@ struct AVFilterPad {
*/
int (*config_props)(AVFilterLink *link);
};
+#endif
/**
* Get the name of an AVFilterPad.