mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
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:
parent
a5f3ccc037
commit
7bc5ed34fd
1 changed files with 2 additions and 1 deletions
|
@ -281,7 +281,8 @@ print_factory_details_info (GstElementFactory * factory, GstPlugin * plugin)
|
||||||
g_strfreev (keys);
|
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);
|
const gchar *module = gst_plugin_get_source (plugin);
|
||||||
|
|
||||||
if (g_strv_contains (gstreamer_modules, module)) {
|
if (g_strv_contains (gstreamer_modules, module)) {
|
||||||
|
|
Loading…
Reference in a new issue