gl: mark library as API unstable
authorMatthew Waters <ystreet00@gmail.com>
Sat, 21 Jun 2014 23:22:23 +0000 (09:22 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:43 +0000 (19:31 +0000)
gst-libs/gst/gl/gl.h

index ed1c6ab..4aee9c9 100644 (file)
 #ifndef __GST_GL_H__
 #define __GST_GL_H__
 
+#ifndef GST_USE_UNSTABLE_API
+#warning "The GL library from gst-plugins-bad is unstable API and may change in future."
+#warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
+#endif
+
 #include <gst/gl/gstgl_fwd.h>
 #include <gst/gl/gstglconfig.h>
 #include <gst/gl/gstglapi.h>