diff options
-rw-r--r-- | gst-libs/gst/interfaces/Makefile.am | 2 | ||||
-rw-r--r-- | gst-libs/gst/interfaces/photography.h | 5 | ||||
-rw-r--r-- | gst/camerabin/Makefile.am | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gst-libs/gst/interfaces/Makefile.am b/gst-libs/gst/interfaces/Makefile.am index 5b6977fc..d7ee304b 100644 --- a/gst-libs/gst/interfaces/Makefile.am +++ b/gst-libs/gst/interfaces/Makefile.am @@ -28,7 +28,7 @@ libgstphotography_@GST_MAJORMINOR@_la_SOURCES = \ nodist_libgstphotography_@GST_MAJORMINOR@_la_SOURCES = \ $(built_sources) -libgstphotography_@GST_MAJORMINOR@_la_CFLAGS = $(GST_CFLAGS) +libgstphotography_@GST_MAJORMINOR@_la_CFLAGS = $(GST_CFLAGS) -DGST_USE_UNSTABLE_API libgstphotography_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS) libgstphotography_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) diff --git a/gst-libs/gst/interfaces/photography.h b/gst-libs/gst/interfaces/photography.h index afa4631a..b7f6b940 100644 --- a/gst-libs/gst/interfaces/photography.h +++ b/gst-libs/gst/interfaces/photography.h @@ -24,6 +24,11 @@ #ifndef __GST_PHOTOGRAPHY_H__ #define __GST_PHOTOGRAPHY_H__ +#ifndef GST_USE_UNSTABLE_API +#warning "The GstPhotography interface 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/interfaces/photography-enumtypes.h> diff --git a/gst/camerabin/Makefile.am b/gst/camerabin/Makefile.am index 376d6787..9887ba39 100644 --- a/gst/camerabin/Makefile.am +++ b/gst/camerabin/Makefile.am @@ -28,7 +28,7 @@ nodist_libgstcamerabin_la_SOURCES = $(built_sources) # libcamerabin_la_HEADERS = gstcamerabin.h libgstcamerabin_la_CFLAGS = \ - $(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) + $(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) -DGST_USE_UNSTABLE_API libgstcamerabin_la_LIBADD = \ $(GST_LIBS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \ |