mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:46:13 +00:00
Mark some properties as DOC_SHOW_DEFAULT
This commit is contained in:
parent
287897e465
commit
bd72ad601f
3 changed files with 5 additions and 3 deletions
|
@ -486,7 +486,7 @@
|
||||||
"blurb": "Human-readable name of the sound card",
|
"blurb": "Human-readable name of the sound card",
|
||||||
"construct": false,
|
"construct": false,
|
||||||
"construct-only": false,
|
"construct-only": false,
|
||||||
"default": "HDA Intel PCH",
|
"default": "",
|
||||||
"type-name": "gchararray",
|
"type-name": "gchararray",
|
||||||
"writable": false
|
"writable": false
|
||||||
},
|
},
|
||||||
|
|
|
@ -197,7 +197,8 @@ gst_alsasink_class_init (GstAlsaSinkClass * klass)
|
||||||
g_object_class_install_property (gobject_class, PROP_CARD_NAME,
|
g_object_class_install_property (gobject_class, PROP_CARD_NAME,
|
||||||
g_param_spec_string ("card-name", "Card name",
|
g_param_spec_string ("card-name", "Card name",
|
||||||
"Human-readable name of the sound card", DEFAULT_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
|
static void
|
||||||
|
|
|
@ -172,7 +172,8 @@ gst_alsasrc_class_init (GstAlsaSrcClass * klass)
|
||||||
g_object_class_install_property (gobject_class, PROP_CARD_NAME,
|
g_object_class_install_property (gobject_class, PROP_CARD_NAME,
|
||||||
g_param_spec_string ("card-name", "Card name",
|
g_param_spec_string ("card-name", "Card name",
|
||||||
"Human-readable name of the sound card",
|
"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_object_class_install_property (gobject_class, PROP_USE_DRIVER_TIMESTAMP,
|
||||||
g_param_spec_boolean ("use-driver-timestamps", "Use driver timestamps",
|
g_param_spec_boolean ("use-driver-timestamps", "Use driver timestamps",
|
||||||
|
|
Loading…
Reference in a new issue