wayland: add unstable API guards to wayland library header

This commit is contained in:
Tim-Philipp Müller 2014-06-17 13:15:06 +01:00
parent fc4aa73aca
commit d4745ea78c

View file

@ -21,6 +21,11 @@
#ifndef __GST_WAYLAND_H__
#define __GST_WAYLAND_H__
#ifndef GST_USE_UNSTABLE_API
#warning "The GStreamer wayland library 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 <wayland-client.h>