mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
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
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue