]> git.sesse.net Git - mlt/blobdiff - src/modules/xml/consumer_xml.c
Add MLT version to serialized XML.
[mlt] / src / modules / xml / consumer_xml.c
index a9404dc1692d14c43082369858ab9d9be8029b37..f744fcb91cf099530f6a3971679f66f213b97d70 100644 (file)
@@ -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 )
        {