Mark some properties as DOC_SHOW_DEFAULT

This commit is contained in:
Thibault Saunier 2018-11-11 19:03:33 -03:00
parent 287897e465
commit bd72ad601f
3 changed files with 5 additions and 3 deletions

View file

@ -486,7 +486,7 @@
"blurb": "Human-readable name of the sound card",
"construct": false,
"construct-only": false,
"default": "HDA Intel PCH",
"default": "",
"type-name": "gchararray",
"writable": false
},

View 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

View 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",