diff options
-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); |