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:
Seungha Yang 2022-10-18 03:08:44 +09:00 committed by GStreamer Marge Bot
parent fcde6af7df
commit 09fc6f14f3

View file

@ -752,6 +752,10 @@ _add_factory_details (GString * json, GstElementFactory * factory)
gchar *val;
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));
g_string_append_printf (json, "%s\"%s\": \"%s\"", f ? "" : ",", key, val);
f = FALSE;