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>
This commit is contained in:
Tim-Philipp Müller 2020-06-19 13:05:38 +01:00
parent 6fa45fe861
commit 29026b1c27
2 changed files with 5 additions and 1 deletions

View file

@ -147,7 +147,7 @@ gst_dfbvideosink_layer_mode_get_type (void)
GType GType
gst_meta_dfbsurface_api_get_type (void) gst_meta_dfbsurface_api_get_type (void)
{ {
static volatile GType type; static GType type;
static const gchar *tags[] = { "memory", NULL }; static const gchar *tags[] = { "memory", NULL };
if (g_once_init_enter (&type)) { 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, gst_dfbvideosink_layer_mode_get_type (), DEFAULT_LAYER_MODE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 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, gst_element_class_set_static_metadata (gstelement_class,
"DirectFB video sink", "Sink/Video", "A DirectFB based videosink", "DirectFB video sink", "Sink/Video", "A DirectFB based videosink",
"Julien Moutte <julien@moutte.net>"); "Julien Moutte <julien@moutte.net>");

View file

@ -140,6 +140,8 @@ gst_openni2_src_class_init (GstOpenni2SrcClass * klass)
GST_TYPE_OPENNI2_SRC_SOURCETYPE, DEFAULT_SOURCETYPE, GST_TYPE_OPENNI2_SRC_SOURCETYPE, DEFAULT_SOURCETYPE,
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); (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->start = GST_DEBUG_FUNCPTR (gst_openni2_src_start);
basesrc_class->stop = GST_DEBUG_FUNCPTR (gst_openni2_src_stop); basesrc_class->stop = GST_DEBUG_FUNCPTR (gst_openni2_src_stop);