From: Dan Dennedy Date: Thu, 1 Sep 2011 04:47:52 +0000 (-0700) Subject: Add MLT version to serialized XML. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=0d760a4c6cc1b785bbcfab510b2edf0e4c25fa3a;p=mlt Add MLT version to serialized XML. --- diff --git a/src/modules/xml/consumer_xml.c b/src/modules/xml/consumer_xml.c index a9404dc1..f744fcb9 100644 --- a/src/modules/xml/consumer_xml.c +++ b/src/modules/xml/consumer_xml.c @@ -652,6 +652,9 @@ xmlDocPtr xml_make_doc( mlt_consumer consumer, mlt_service service ) // Indicate the numeric locale xmlNewProp( root, _x("LC_NUMERIC"), _x( setlocale( LC_NUMERIC, NULL ) ) ); + // Indicate the version + xmlNewProp( root, _x("version"), _x( mlt_version_get_string() ) ); + // If we have root, then deal with it now if ( mlt_properties_get( properties, "root" ) != NULL ) { diff --git a/src/modules/xml/mlt-xml.dtd b/src/modules/xml/mlt-xml.dtd index 937ff47c..f2bbfc20 100644 --- a/src/modules/xml/mlt-xml.dtd +++ b/src/modules/xml/mlt-xml.dtd @@ -5,6 +5,7 @@