diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-04-14 16:14:57 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-04-14 16:14:57 +0100 |
commit | c9ef416fa7c71b19c615be833190773baebc979e (patch) | |
tree | 958aba4b03afb7856f564418cb5677c512868632 /gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.h | |
parent | 860adf758525bf3c0624a78b413729b53026c078 (diff) | |
download | gstreamer-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/gst/basecamerabinsrc/gstcamerabinpreview.h')
-rw-r--r-- | gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |