Mark more plugin GTypes as plugin API
authorTim-Philipp Müller <tim@centricular.com>
Fri, 19 Jun 2020 12:05:38 +0000 (13:05 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 19 Jun 2020 12:05:38 +0000 (13:05 +0100)
To appease the CI gods.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1354>

ext/directfb/dfbvideosink.c
ext/openni2/gstopenni2src.cpp

index ae042e6..ea77b37 100644 (file)
@@ -147,7 +147,7 @@ gst_dfbvideosink_layer_mode_get_type (void)
 GType
 gst_meta_dfbsurface_api_get_type (void)
 {
-  static volatile GType type;
+  static GType type;
   static const gchar *tags[] = { "memory", NULL };
 
   if (g_once_init_enter (&type)) {
@@ -2438,6 +2438,8 @@ gst_dfbvideosink_class_init (GstDfbVideoSinkClass * klass)
           gst_dfbvideosink_layer_mode_get_type (), DEFAULT_LAYER_MODE,
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
+  gst_type_mark_as_plugin_api (gst_dfbvideosink_layer_mode_get_type (), 0);
+
   gst_element_class_set_static_metadata (gstelement_class,
       "DirectFB video sink", "Sink/Video", "A DirectFB based videosink",
       "Julien Moutte <julien@moutte.net>");
index 05cef10..696dca2 100644 (file)
@@ -140,6 +140,8 @@ gst_openni2_src_class_init (GstOpenni2SrcClass * klass)
           GST_TYPE_OPENNI2_SRC_SOURCETYPE, DEFAULT_SOURCETYPE,
           (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
 
+  gst_type_mark_as_plugin_api (GST_TYPE_OPENNI2_SRC_SOURCETYPE,
+      (GstPluginAPIFlags) 0);
 
   basesrc_class->start = GST_DEBUG_FUNCPTR (gst_openni2_src_start);
   basesrc_class->stop = GST_DEBUG_FUNCPTR (gst_openni2_src_stop);