if (!seen_doc_uri && plugin != NULL &&
!gst_element_factory_get_skip_documentation (factory)) {
const gchar *module = gst_plugin_get_source (plugin);
+ const gchar *origin = gst_plugin_get_origin (plugin);
- if (g_strv_contains (gstreamer_modules, module)) {
+ /* gst-plugins-rs has per-plugin module names so need to check origin there */
+ if (g_strv_contains (gstreamer_modules, module)
+ || (origin != NULL && g_str_has_suffix (origin, "/gst-plugins-rs"))) {
GList *features;
features =
const gchar *release_date = gst_plugin_get_release_date_string (plugin);
const gchar *filename = gst_plugin_get_filename (plugin);
const gchar *module = gst_plugin_get_source (plugin);
+ const gchar *origin = gst_plugin_get_origin (plugin);
n_print ("%sPlugin Details%s:\n", HEADING_COLOR, RESET_COLOR);
n_print ("%s%-25s%s%s%s%s\n", PROP_NAME_COLOR, "Source module", RESET_COLOR,
PROP_VALUE_COLOR, module, RESET_COLOR);
- if (g_strv_contains (gstreamer_modules, module)) {
+ /* gst-plugins-rs has per-plugin module names so need to check origin there */
+ if (g_strv_contains (gstreamer_modules, module)
+ || (origin != NULL && g_str_has_suffix (origin, "/gst-plugins-rs"))) {
n_print ("%s%-25s%s%s%s/%s/%s\n", PROP_NAME_COLOR, "Documentation",
RESET_COLOR, PROP_VALUE_COLOR, GST_DOC_BASE_URL, plugin_name,
RESET_COLOR);