[xiph-commits] r8673 - trunk/oggdsf/src/tests/testOOOggChef

ozone at motherfish-iii.xiph.org ozone at motherfish-iii.xiph.org
Sat Jan 8 00:31:12 PST 2005


Author: ozone
Date: 2005-01-08 00:31:11 -0800 (Sat, 08 Jan 2005)
New Revision: 8673

Modified:
   trunk/oggdsf/src/tests/testOOOggChef/testOOOggChef.cpp
Log:
oggdsf:
 * Update testOOOggChef to use CMMLTagUtils class


Modified: trunk/oggdsf/src/tests/testOOOggChef/testOOOggChef.cpp
===================================================================
--- trunk/oggdsf/src/tests/testOOOggChef/testOOOggChef.cpp	2005-01-08 08:27:55 UTC (rev 8672)
+++ trunk/oggdsf/src/tests/testOOOggChef/testOOOggChef.cpp	2005-01-08 08:31:11 UTC (rev 8673)
@@ -8,6 +8,7 @@
 #include <libilliCore/StringHelper.h>
 #include <libTemporalURI/C_TimeStamp.h>
 #include <libWinCMMLParse/CMMLParser.h>
+#include <libWinCMMLParse/CMMLTagUtils.h>
 
 int __cdecl _tmain(int argc, _TCHAR* argv[])
 {
@@ -35,7 +36,8 @@
 
 	// n.b. No error checking done to see whether the <cmml> and <clip> tags exist, so
 	// make sure they exist in the given CMML file!
-	C_ClipTagList *locClipTagList = locCMMLDoc->root()->clipList()->getClipsFrom(locTime);
+	C_ClipTagList *locClipTagList =
+		CMMLTagUtils::getClipsFrom(locCMMLDoc->root()->clipList(), locTime);
 	
 	locCMMLDoc->root()->setClipList(locClipTagList);
 	string locCMMLDocString = StringHelper::toNarrowStr(locCMMLDoc->toString());



More information about the commits mailing list