summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/video/gstbasevideodecoder.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-07-03 16:08:38 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-07-03 16:08:38 +0100
commit6a763f6a471e9fbbd86358b0175498a6af78666e (patch)
treeba87c13ee15488a5fe995614775908acd6946de5 /gst-libs/gst/video/gstbasevideodecoder.h
parent2e6de387ac4c1a4db433f3340ef19e00edc35b64 (diff)
downloadgst-plugins-bad-6a763f6a471e9fbbd86358b0175498a6af78666e.tar.gz
gst-plugins-bad-6a763f6a471e9fbbd86358b0175498a6af78666e.tar.bz2
gst-plugins-bad-6a763f6a471e9fbbd86358b0175498a6af78666e.zip
basevideo, schroedinger: guard unstable API with GST_USE_UNSTABLE_API
Add some guards and fat warnings to the header files with still unstable API, so people who just look at the installed headers know that it actually is unstable API.
Diffstat (limited to 'gst-libs/gst/video/gstbasevideodecoder.h')
-rw-r--r--gst-libs/gst/video/gstbasevideodecoder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst-libs/gst/video/gstbasevideodecoder.h b/gst-libs/gst/video/gstbasevideodecoder.h
index 5e734a2a..1daf728c 100644
--- a/gst-libs/gst/video/gstbasevideodecoder.h
+++ b/gst-libs/gst/video/gstbasevideodecoder.h
@@ -20,6 +20,11 @@
#ifndef _GST_BASE_VIDEO_DECODER_H_
#define _GST_BASE_VIDEO_DECODER_H_
+#ifndef GST_USE_UNSTABLE_API
+#warning "GstBaseVideoDecoder is unstable API and may change in future."
+#warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
+#endif
+
#include <gst/video/gstbasevideocodec.h>
G_BEGIN_DECLS