docs: Unmark wrongly marked plugin API types
authorThibault Saunier <tsaunier@igalia.com>
Tue, 23 Jun 2020 15:33:45 +0000 (11:33 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Tue, 23 Jun 2020 17:02:57 +0000 (13:02 -0400)
docs/plugins/gst_plugins_cache.json
gst-libs/gst/audio/gstnonstreamaudiodecoder.c
gst-libs/gst/basecamerabinsrc/gstcamerabin-enum.c

index 38e6eb5..2308426 100644 (file)
                         "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",
                         "default": "default (2)",
                         "mutable": "null",
                         "readable": true,
-                        "type": "NonstreamAudioSubsongMode",
+                        "type": "GstNonstreamAudioSubsongMode",
                         "writable": true
                     },
                     "volume-ramping": {
         },
         "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": {},
         "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": [
         },
         "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": {},
index 9996697..8a63a1c 100644 (file)
@@ -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);
 }
 
 
index f556806..6963e0c 100644 (file)
@@ -23,6 +23,9 @@
 
 #include "gstcamerabin-enum.h"
 
+/**
+ * GstCameraBin2Mode:
+ */
 GType
 gst_camerabin_mode_get_type (void)
 {