docs: plugin-scanner: Stop updating "long-name" metadata
The "long-name" value can be environment dependent, and it's not actually used by our documentation. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3208>
This commit is contained in:
parent
fcde6af7df
commit
09fc6f14f3
@ -752,6 +752,10 @@ _add_factory_details (GString * json, GstElementFactory * factory)
|
|||||||
gchar *val;
|
gchar *val;
|
||||||
gchar *key = *k;
|
gchar *key = *k;
|
||||||
|
|
||||||
|
/* "long-name" can be varying depending on environment, skip this */
|
||||||
|
if (g_strcmp0 (key, "long-name") == 0)
|
||||||
|
continue;
|
||||||
|
|
||||||
val = json_strescape (gst_element_factory_get_metadata (factory, key));
|
val = json_strescape (gst_element_factory_get_metadata (factory, key));
|
||||||
g_string_append_printf (json, "%s\"%s\": \"%s\"", f ? "" : ",", key, val);
|
g_string_append_printf (json, "%s\"%s\": \"%s\"", f ? "" : ",", key, val);
|
||||||
f = FALSE;
|
f = FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user