From e258e44e832856cb04bd866db7c44d0c6ce40913 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 9 Jul 2003 01:56:08 +0000 Subject: [PATCH] include license in registry Original commit message from CVS: include license in registry --- gst/registries/gstxmlregistry.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/registries/gstxmlregistry.c b/gst/registries/gstxmlregistry.c index ef2635b318..69022cda26 100644 --- a/gst/registries/gstxmlregistry.c +++ b/gst/registries/gstxmlregistry.c @@ -679,6 +679,9 @@ gst_xml_registry_parse_element_factory (GMarkupParseContext *context, const gcha else if (!strcmp(tag, "description")) { 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")) { 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 ("class", factory->details->klass); PUT_ESCAPED ("description", factory->details->description); + PUT_ESCAPED ("license", factory->details->license); PUT_ESCAPED ("version", factory->details->version); PUT_ESCAPED ("author", factory->details->author); PUT_ESCAPED ("copyright", factory->details->copyright);