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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3243>
This commit is contained in:
Seungha Yang 2022-10-22 05:29:59 +09:00
parent a5f3ccc037
commit 7bc5ed34fd

View file

@ -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)) {