autodetect: mark filter-caps property as DOC_SHOW_DEFAULT

When generating the cache we inspect the base class through
an instance of one of its subclasses. We don't want potential
assignments in subclasses initialization to leak into the
base class documentation

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/641>
This commit is contained in:
Mathieu Duponchelle 2020-06-24 17:04:51 +02:00
parent 1863259ab8
commit 8d464c8361
2 changed files with 2 additions and 2 deletions

View file

@ -3153,7 +3153,6 @@
"construct": false,
"construct-only": false,
"controllable": false,
"default": "audio/x-raw",
"mutable": "null",
"readable": true,
"type": "GstCaps",

View file

@ -84,7 +84,8 @@ gst_auto_detect_class_init (GstAutoDetectClass * klass)
g_object_class_install_property (gobject_class, PROP_CAPS,
g_param_spec_boxed ("filter-caps", "Filter caps",
"Filter sink candidates using these caps.", GST_TYPE_CAPS,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS |
GST_PARAM_DOC_SHOW_DEFAULT));
g_object_class_install_property (gobject_class, PROP_SYNC,
g_param_spec_boolean ("sync", "Sync",