diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2020-06-19 13:05:38 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-06-19 13:05:38 +0100 |
commit | 29026b1c2785baf2590a0da2e2b7257ece08d816 (patch) | |
tree | 843c83a383add0542f572810b4863003e87e5219 | |
parent | 6fa45fe861019d4b626a8ce65be0adf1a109e98d (diff) | |
download | gstreamer-plugins-bad-29026b1c2785baf2590a0da2e2b7257ece08d816.tar.gz |
Mark more plugin GTypes as plugin API
To appease the CI gods.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1354>
-rw-r--r-- | ext/directfb/dfbvideosink.c | 4 | ||||
-rw-r--r-- | ext/openni2/gstopenni2src.cpp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c index ae042e6eb..ea77b3778 100644 --- a/ext/directfb/dfbvideosink.c +++ b/ext/directfb/dfbvideosink.c @@ -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>"); diff --git a/ext/openni2/gstopenni2src.cpp b/ext/openni2/gstopenni2src.cpp index 05cef1015..696dca23b 100644 --- a/ext/openni2/gstopenni2src.cpp +++ b/ext/openni2/gstopenni2src.cpp @@ -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); |