gst-inspect: Don't print link to doc if it's known to be unavailable
[platform/upstream/gstreamer.git] / subprojects / gstreamer / tools / gst-inspect.c
index 95aa7eb..c6469e0 100644 (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)) {