mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
include license in registry
Original commit message from CVS: include license in registry
This commit is contained in:
parent
329e7d6917
commit
e258e44e83
1 changed files with 4 additions and 0 deletions
|
@ -679,6 +679,9 @@ gst_xml_registry_parse_element_factory (GMarkupParseContext *context, const gcha
|
||||||
else if (!strcmp(tag, "description")) {
|
else if (!strcmp(tag, "description")) {
|
||||||
factory->details->description = g_strndup (text, text_len);
|
factory->details->description = g_strndup (text, text_len);
|
||||||
}
|
}
|
||||||
|
else if (!strcmp(tag, "license")) {
|
||||||
|
factory->details->license = g_strndup (text, text_len);
|
||||||
|
}
|
||||||
else if (!strcmp(tag, "version")) {
|
else if (!strcmp(tag, "version")) {
|
||||||
factory->details->version = g_strndup (text, text_len);
|
factory->details->version = g_strndup (text, text_len);
|
||||||
}
|
}
|
||||||
|
@ -1443,6 +1446,7 @@ gst_xml_registry_save_feature (GstXMLRegistry *xmlregistry, GstPluginFeature *fe
|
||||||
PUT_ESCAPED ("longname", factory->details->longname);
|
PUT_ESCAPED ("longname", factory->details->longname);
|
||||||
PUT_ESCAPED ("class", factory->details->klass);
|
PUT_ESCAPED ("class", factory->details->klass);
|
||||||
PUT_ESCAPED ("description", factory->details->description);
|
PUT_ESCAPED ("description", factory->details->description);
|
||||||
|
PUT_ESCAPED ("license", factory->details->license);
|
||||||
PUT_ESCAPED ("version", factory->details->version);
|
PUT_ESCAPED ("version", factory->details->version);
|
||||||
PUT_ESCAPED ("author", factory->details->author);
|
PUT_ESCAPED ("author", factory->details->author);
|
||||||
PUT_ESCAPED ("copyright", factory->details->copyright);
|
PUT_ESCAPED ("copyright", factory->details->copyright);
|
||||||
|
|
Loading…
Reference in a new issue