Skip to content

Commit

Permalink
Mark some properties as DOC_SHOW_DEFAULT
Browse files Browse the repository at this point in the history
  • Loading branch information
thiblahute committed May 13, 2019
1 parent 287897e commit bd72ad6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/plugins/gst_plugins_cache.json
Expand Up @@ -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
},
Expand Down
3 changes: 2 additions & 1 deletion ext/alsa/gstalsasink.c
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion ext/alsa/gstalsasrc.c
Expand Up @@ -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",
Expand Down

0 comments on commit bd72ad6

Please sign in to comment.