[xiph-commits] r8821 - trunk/oggdsf/src/lib/helper/libOOOggChef

ozone at motherfish-iii.xiph.org ozone at motherfish-iii.xiph.org
Tue Feb 1 21:03:53 PST 2005


Author: ozone
Date: 2005-02-01 21:03:51 -0800 (Tue, 01 Feb 2005)
New Revision: 8821

Modified:
   trunk/oggdsf/src/lib/helper/libOOOggChef/AnnodexRecomposer.cpp
Log:
oggdsf:
 * Make libOOOggChef output a more correct XML preamble when recomposing CMML



Modified: trunk/oggdsf/src/lib/helper/libOOOggChef/AnnodexRecomposer.cpp
===================================================================
--- trunk/oggdsf/src/lib/helper/libOOOggChef/AnnodexRecomposer.cpp	2005-02-02 05:03:05 UTC (rev 8820)
+++ trunk/oggdsf/src/lib/helper/libOOOggChef/AnnodexRecomposer.cpp	2005-02-02 05:03:51 UTC (rev 8821)
@@ -134,7 +134,7 @@
 
 	// Output CMML preamble if the user wants it
 	if (wantOnlyCMML(mWantedMIMETypes)) {
-		const string CMML_PREAMBLE = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<cmml>";
+		const string CMML_PREAMBLE = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<cmml>\n";
 		mBufferWriter((unsigned char *) CMML_PREAMBLE.c_str(), (unsigned long) CMML_PREAMBLE.length(), mBufferWriterUserData);
 	}
 



More information about the commits mailing list