Mark some properties as DOC_SHOW_DEFAULT
authorThibault Saunier <tsaunier@igalia.com>
Sun, 11 Nov 2018 22:03:33 +0000 (19:03 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Mon, 13 May 2019 15:34:08 +0000 (11:34 -0400)
docs/plugins/gst_plugins_cache.json
ext/alsa/gstalsasink.c
ext/alsa/gstalsasrc.c

index bf46955..78ecea6 100644 (file)
                         "blurb": "Human-readable name of the sound card",
                         "construct": false,
                         "construct-only": false,
-                        "default": "HDA Intel PCH",
+                        "default": "",
                         "type-name": "gchararray",
                         "writable": false
                     },
index e1bb7d7..862b2a5 100644 (file)
@@ -197,7 +197,8 @@ gst_alsasink_class_init (GstAlsaSinkClass * klass)
   g_object_class_install_property (gobject_class, PROP_CARD_NAME,
       g_param_spec_string ("card-name", "Card name",
           "Human-readable name of the sound card", DEFAULT_CARD_NAME,
-          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
+          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS |
+          GST_PARAM_DOC_SHOW_DEFAULT));
 }
 
 static void
index 5f5a17b..5fdf2dd 100644 (file)
@@ -172,7 +172,8 @@ gst_alsasrc_class_init (GstAlsaSrcClass * klass)
   g_object_class_install_property (gobject_class, PROP_CARD_NAME,
       g_param_spec_string ("card-name", "Card name",
           "Human-readable name of the sound card",
-          DEFAULT_PROP_CARD_NAME, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
+          DEFAULT_PROP_CARD_NAME, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS
+          | GST_PARAM_DOC_SHOW_DEFAULT));
 
   g_object_class_install_property (gobject_class, PROP_USE_DRIVER_TIMESTAMP,
       g_param_spec_boolean ("use-driver-timestamps", "Use driver timestamps",