summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-04-14 16:14:57 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-04-14 16:14:57 +0100
commitc9ef416fa7c71b19c615be833190773baebc979e (patch)
tree958aba4b03afb7856f564418cb5677c512868632 /gst-libs
parent860adf758525bf3c0624a78b413729b53026c078 (diff)
downloadgstreamer-plugins-bad-c9ef416fa7c71b19c615be833190773baebc979e.tar.gz
basecamerasrc: add unstable-API warnings if GST_USE_UNSTABLE_API is not defined
So people know this is unstable API even if it ends up right next to our other API.
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h5
-rw-r--r--gst-libs/gst/basecamerabinsrc/gstcamerabin-enum.h5
-rw-r--r--gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.h5
3 files changed, 15 insertions, 0 deletions
diff --git a/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h b/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h
index c433b6694..1c412e493 100644
--- a/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h
+++ b/gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h
@@ -22,6 +22,11 @@
#ifndef __GST_BASE_CAMERA_SRC_H__
#define __GST_BASE_CAMERA_SRC_H__
+#ifndef GST_USE_UNSTABLE_API
+#warning "GstBaseCameraSrc is unstable API and may change in future."
+#warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
+#endif
+
#include <gst/gst.h>
#include <gst/gstbin.h>
#include <gst/interfaces/photography.h>
diff --git a/gst-libs/gst/basecamerabinsrc/gstcamerabin-enum.h b/gst-libs/gst/basecamerabinsrc/gstcamerabin-enum.h
index 590cb6882..c6dbf043d 100644
--- a/gst-libs/gst/basecamerabinsrc/gstcamerabin-enum.h
+++ b/gst-libs/gst/basecamerabinsrc/gstcamerabin-enum.h
@@ -21,6 +21,11 @@
#ifndef __GST_CAMERABIN_ENUM_H__
#define __GST_CAMERABIN_ENUM_H__
+#ifndef GST_USE_UNSTABLE_API
+#warning "camerabin enums are unstable API and may change in future."
+#warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
+#endif
+
#include <gst/gst.h>
G_BEGIN_DECLS
diff --git a/gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.h b/gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.h
index b9df7a26e..4c8cf2187 100644
--- a/gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.h
+++ b/gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.h
@@ -22,6 +22,11 @@
#ifndef __CAMERABIN_PREVIEW_H_
#define __CAMERABIN_PREVIEW_H_
+#ifndef GST_USE_UNSTABLE_API
+#warning "camera bin preview is unstable API and may change in future."
+#warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
+#endif
+
#include <gst/gst.h>
typedef struct