From 69d5428bfcbbbb7085c40d5deb0d3c82b7f0c5fa Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Sun, 21 Jun 2020 01:33:50 +0200 Subject: [PATCH] docs: mark more types as plugin API --- ext/gl/gstglbasemixer.c | 4 ++++ ext/gl/gstgleffects.c | 1 + ext/gl/gstglmixer.c | 1 + ext/ogg/gstogmparse.c | 2 ++ ext/pango/gstbasetextoverlay.c | 1 + gst/gio/gstgiobasesink.c | 2 ++ gst/gio/gstgiobasesrc.c | 2 ++ gst/rawparse/gstrawbaseparse.c | 2 ++ gst/tcp/gstmultihandlesink.c | 1 + 9 files changed, 16 insertions(+) diff --git a/ext/gl/gstglbasemixer.c b/ext/gl/gstglbasemixer.c index 719b25f..c3fac25 100644 --- a/ext/gl/gstglbasemixer.c +++ b/ext/gl/gstglbasemixer.c @@ -75,6 +75,8 @@ gst_gl_base_mixer_pad_class_init (GstGLBaseMixerPadClass * klass) vaggpad_class->prepare_frame = NULL; vaggpad_class->clean_frame = NULL; + + gst_type_mark_as_plugin_api (GST_TYPE_GL_BASE_MIXER_PAD, 0); } static void @@ -396,6 +398,8 @@ gst_gl_base_mixer_class_init (GstGLBaseMixerClass * klass) g_type_class_ref (GST_TYPE_GL_BASE_MIXER_PAD); klass->supported_gl_api = GST_GL_API_ANY; + + gst_type_mark_as_plugin_api (GST_TYPE_GL_BASE_MIXER, 0); } static void diff --git a/ext/gl/gstgleffects.c b/ext/gl/gstgleffects.c index 5bac563..70f727a 100644 --- a/ext/gl/gstgleffects.c +++ b/ext/gl/gstgleffects.c @@ -348,6 +348,7 @@ gst_gl_effects_class_init (GstGLEffectsClass * klass) GST_GL_API_OPENGL | GST_GL_API_GLES2 | GST_GL_API_OPENGL3; gst_type_mark_as_plugin_api (GST_TYPE_GL_EFFECTS_EFFECT, 0); + gst_type_mark_as_plugin_api (GST_TYPE_GL_EFFECTS, 0); } static void diff --git a/ext/gl/gstglmixer.c b/ext/gl/gstglmixer.c index a4980c4..41c634d 100644 --- a/ext/gl/gstglmixer.c +++ b/ext/gl/gstglmixer.c @@ -439,6 +439,7 @@ gst_gl_mixer_class_init (GstGLMixerClass * klass) klass->set_caps = NULL; gst_type_mark_as_plugin_api (GST_TYPE_GL_MIXER_PAD, 0); + gst_type_mark_as_plugin_api (GST_TYPE_GL_MIXER, 0); } static void diff --git a/ext/ogg/gstogmparse.c b/ext/ogg/gstogmparse.c index d692ed7..a303711 100644 --- a/ext/ogg/gstogmparse.c +++ b/ext/ogg/gstogmparse.c @@ -336,6 +336,8 @@ gst_ogm_parse_class_init (GstOgmParseClass * klass) gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_ogm_parse_change_state); + + gst_type_mark_as_plugin_api (GST_TYPE_OGM_PARSE, 0); } static void diff --git a/ext/pango/gstbasetextoverlay.c b/ext/pango/gstbasetextoverlay.c index e7414fc..d1f6be0 100644 --- a/ext/pango/gstbasetextoverlay.c +++ b/ext/pango/gstbasetextoverlay.c @@ -636,6 +636,7 @@ gst_base_text_overlay_class_init (GstBaseTextOverlayClass * klass) gst_type_mark_as_plugin_api (GST_TYPE_BASE_TEXT_OVERLAY_LINE_ALIGN, 0); gst_type_mark_as_plugin_api (GST_TYPE_BASE_TEXT_OVERLAY_SCALE_MODE, 0); gst_type_mark_as_plugin_api (GST_TYPE_BASE_TEXT_OVERLAY_WRAP_MODE, 0); + gst_type_mark_as_plugin_api (GST_TYPE_BASE_TEXT_OVERLAY, 0); } static void diff --git a/gst/gio/gstgiobasesink.c b/gst/gio/gstgiobasesink.c index caacba5..6a8f5b1 100644 --- a/gst/gio/gstgiobasesink.c +++ b/gst/gio/gstgiobasesink.c @@ -69,6 +69,8 @@ gst_gio_base_sink_class_init (GstGioBaseSinkClass * klass) gstbasesink_class->query = GST_DEBUG_FUNCPTR (gst_gio_base_sink_query); gstbasesink_class->event = GST_DEBUG_FUNCPTR (gst_gio_base_sink_event); gstbasesink_class->render = GST_DEBUG_FUNCPTR (gst_gio_base_sink_render); + + gst_type_mark_as_plugin_api (GST_TYPE_GIO_BASE_SINK, 0); } static void diff --git a/gst/gio/gstgiobasesrc.c b/gst/gio/gstgiobasesrc.c index 6d73c7e..b56a99b 100644 --- a/gst/gio/gstgiobasesrc.c +++ b/gst/gio/gstgiobasesrc.c @@ -76,6 +76,8 @@ gst_gio_base_src_class_init (GstGioBaseSrcClass * klass) GST_DEBUG_FUNCPTR (gst_gio_base_src_unlock_stop); gstbasesrc_class->create = GST_DEBUG_FUNCPTR (gst_gio_base_src_create); gstbasesrc_class->query = GST_DEBUG_FUNCPTR (gst_gio_base_src_query); + + gst_type_mark_as_plugin_api (GST_TYPE_GIO_BASE_SRC, 0); } static void diff --git a/gst/rawparse/gstrawbaseparse.c b/gst/rawparse/gstrawbaseparse.c index f26e3e3..95b5935 100644 --- a/gst/rawparse/gstrawbaseparse.c +++ b/gst/rawparse/gstrawbaseparse.c @@ -182,6 +182,8 @@ gst_raw_base_parse_class_init (GstRawBaseParseClass * klass) "Use the sink caps for defining the output format", DEFAULT_USE_SINK_CAPS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS) ); + + gst_type_mark_as_plugin_api (GST_TYPE_RAW_BASE_PARSE, 0); } static void diff --git a/gst/tcp/gstmultihandlesink.c b/gst/tcp/gstmultihandlesink.c index 6b22a51..4c0e8a1 100644 --- a/gst/tcp/gstmultihandlesink.c +++ b/gst/tcp/gstmultihandlesink.c @@ -488,6 +488,7 @@ gst_multi_handle_sink_class_init (GstMultiHandleSinkClass * klass) gst_type_mark_as_plugin_api (GST_TYPE_RECOVER_POLICY, 0); gst_type_mark_as_plugin_api (GST_TYPE_SYNC_METHOD, 0); gst_type_mark_as_plugin_api (GST_TYPE_CLIENT_STATUS, 0); + gst_type_mark_as_plugin_api (GST_TYPE_MULTI_HANDLE_SINK, 0); } static void -- 2.7.4