From 7bc5ed34fd8b982cddf4186beaf3b1d34c097e81 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Sat, 22 Oct 2022 05:29:59 +0900 Subject: [PATCH] gst-inspect: Don't print link to doc if it's known to be unavailable "gst_element_factory_get_skip_documentation() == true" means documentation was intentionally skipped for the element feature Part-of: --- subprojects/gstreamer/tools/gst-inspect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/gstreamer/tools/gst-inspect.c b/subprojects/gstreamer/tools/gst-inspect.c index 95aa7eb..c6469e0 100644 --- a/subprojects/gstreamer/tools/gst-inspect.c +++ b/subprojects/gstreamer/tools/gst-inspect.c @@ -281,7 +281,8 @@ print_factory_details_info (GstElementFactory * factory, GstPlugin * plugin) g_strfreev (keys); } - if (!seen_doc_uri && plugin != NULL) { + if (!seen_doc_uri && plugin != NULL && + !gst_element_factory_get_skip_documentation (factory)) { const gchar *module = gst_plugin_get_source (plugin); if (g_strv_contains (gstreamer_modules, module)) { -- 2.7.4