From b575f6c68331bdc6d989bb3a44d6565cd37c9e38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 5 Aug 2023 17:45:17 +0100 Subject: [PATCH] soup: use GST_PARAM_DOC_SHOW_DEFAULT for libsoup2-specific properties Otherwise the value in the gst_plugins_cache.json will vary depending on the libsoup version picked up at runtime. Part-of: --- subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c b/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c index e5f84eecd4..cd74ac1a9f 100644 --- a/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c +++ b/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c @@ -434,7 +434,8 @@ gst_soup_http_src_class_init (GstSoupHTTPSrcClass * klass) g_object_class_install_property (gobject_class, PROP_SSL_CA_FILE, g_param_spec_string ("ssl-ca-file", "SSL CA File", "Location of a SSL anchor CA file to use", DEFAULT_SSL_CA_FILE, - G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS + | GST_PARAM_DOC_SHOW_DEFAULT)); /** * GstSoupHTTPSrc::ssl-use-system-ca-file: @@ -450,7 +451,8 @@ gst_soup_http_src_class_init (GstSoupHTTPSrcClass * klass) g_object_class_install_property (gobject_class, PROP_SSL_USE_SYSTEM_CA_FILE, g_param_spec_boolean ("ssl-use-system-ca-file", "Use System CA File", "Use system CA file", DEFAULT_SSL_USE_SYSTEM_CA_FILE, - G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS + | GST_PARAM_DOC_SHOW_DEFAULT)); /** * GstSoupHTTPSrc::tls-database: