summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2020-06-24 17:04:51 +0200
committerMathieu Duponchelle <mathieu@centricular.com>2020-06-24 17:04:51 +0200
commit8d464c8361f47d32d7e5d7ce22b6c9c32bcb9605 (patch)
treee967a28bde4e7fa155c296e90551b8224aa285a7 /gst
parent1863259ab8ca6ad0e4483660ab2b778d940727a9 (diff)
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>
Diffstat (limited to 'gst')
-rw-r--r--gst/autodetect/gstautodetect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/autodetect/gstautodetect.c b/gst/autodetect/gstautodetect.c
index 8bfc53070..d6224fa89 100644
--- a/gst/autodetect/gstautodetect.c
+++ b/gst/autodetect/gstautodetect.c
@@ -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",