diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2020-06-24 17:04:51 +0200 |
---|---|---|
committer | Mathieu Duponchelle <mathieu@centricular.com> | 2020-06-24 17:04:51 +0200 |
commit | 8d464c8361f47d32d7e5d7ce22b6c9c32bcb9605 (patch) | |
tree | e967a28bde4e7fa155c296e90551b8224aa285a7 /gst | |
parent | 1863259ab8ca6ad0e4483660ab2b778d940727a9 (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.c | 3 |
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", |