From 43e9f0af422d50f7e6ddf6a68abacbcf7be04d67 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 23 Jun 2020 11:33:45 -0400 Subject: [PATCH] docs: Unmark wrongly marked plugin API types --- docs/plugins/gst_plugins_cache.json | 108 +--------------------- gst-libs/gst/audio/gstnonstreamaudiodecoder.c | 4 - gst-libs/gst/basecamerabinsrc/gstcamerabin-enum.c | 3 + 3 files changed, 6 insertions(+), 109 deletions(-) diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index 38e6eb5..2308426 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -2610,21 +2610,6 @@ "value": "0x00000008" } ] - }, - "GstCameraBin2Mode": { - "kind": "enum", - "values": [ - { - "desc": "Still image capture (default)", - "name": "mode-image", - "value": "1" - }, - { - "desc": "Video recording", - "name": "mode-video", - "value": "2" - } - ] } }, "package": "GStreamer Bad Plug-ins", @@ -211839,7 +211824,7 @@ "default": "default (2)", "mutable": "null", "readable": true, - "type": "NonstreamAudioSubsongMode", + "type": "GstNonstreamAudioSubsongMode", "writable": true }, "volume-ramping": { @@ -211862,43 +211847,7 @@ }, "filename": "gstopenmpt", "license": "LGPL", - "other-types": { - "NonstreamAudioOutputMode": { - "kind": "enum", - "values": [ - { - "desc": "Looping output", - "name": "looping", - "value": "0" - }, - { - "desc": "Steady output", - "name": "steady", - "value": "1" - } - ] - }, - "NonstreamAudioSubsongMode": { - "kind": "enum", - "values": [ - { - "desc": "Play single subsong", - "name": "single", - "value": "0" - }, - { - "desc": "Play all subsongs", - "name": "all", - "value": "1" - }, - { - "desc": "Decoder specific default behavior", - "name": "default", - "value": "2" - } - ] - } - }, + "other-types": {}, "package": "GStreamer Bad Plug-ins", "source": "gst-plugins-bad", "tracers": {}, @@ -218820,21 +218769,6 @@ "filename": "gstuvch264", "license": "LGPL", "other-types": { - "GstCameraBin2Mode": { - "kind": "enum", - "values": [ - { - "desc": "Still image capture (default)", - "name": "mode-image", - "value": "1" - }, - { - "desc": "Video recording", - "name": "mode-video", - "value": "2" - } - ] - }, "UvcH264Entropy": { "kind": "enum", "values": [ @@ -221816,43 +221750,7 @@ }, "filename": "gstwildmidi", "license": "LGPL", - "other-types": { - "NonstreamAudioOutputMode": { - "kind": "enum", - "values": [ - { - "desc": "Looping output", - "name": "looping", - "value": "0" - }, - { - "desc": "Steady output", - "name": "steady", - "value": "1" - } - ] - }, - "NonstreamAudioSubsongMode": { - "kind": "enum", - "values": [ - { - "desc": "Play single subsong", - "name": "single", - "value": "0" - }, - { - "desc": "Play all subsongs", - "name": "all", - "value": "1" - }, - { - "desc": "Decoder specific default behavior", - "name": "default", - "value": "2" - } - ] - } - }, + "other-types": {}, "package": "GStreamer Bad Plug-ins", "source": "gst-plugins-bad", "tracers": {}, diff --git a/gst-libs/gst/audio/gstnonstreamaudiodecoder.c b/gst-libs/gst/audio/gstnonstreamaudiodecoder.c index 9996697..8a63a1c 100644 --- a/gst-libs/gst/audio/gstnonstreamaudiodecoder.c +++ b/gst-libs/gst/audio/gstnonstreamaudiodecoder.c @@ -457,10 +457,6 @@ gst_nonstream_audio_decoder_class_init (GstNonstreamAudioDecoderClass * klass) GST_TYPE_NONSTREAM_AUDIO_DECODER_OUTPUT_MODE, DEFAULT_OUTPUT_MODE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS) ); - - gst_type_mark_as_plugin_api (GST_TYPE_NONSTREAM_AUDIO_DECODER_OUTPUT_MODE, 0); - gst_type_mark_as_plugin_api (GST_TYPE_NONSTREAM_AUDIO_DECODER_SUBSONG_MODE, - 0); } diff --git a/gst-libs/gst/basecamerabinsrc/gstcamerabin-enum.c b/gst-libs/gst/basecamerabinsrc/gstcamerabin-enum.c index f556806..6963e0c 100644 --- a/gst-libs/gst/basecamerabinsrc/gstcamerabin-enum.c +++ b/gst-libs/gst/basecamerabinsrc/gstcamerabin-enum.c @@ -23,6 +23,9 @@ #include "gstcamerabin-enum.h" +/** + * GstCameraBin2Mode: + */ GType gst_camerabin_mode_get_type (void) { -- 2.7.4