[matroska] r1025 - trunk/DvdMenuXtractor

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2005-01-09 19:00:02 +0300 (Sun, 09 Jan 2005)
New Revision: 1025

Modified:
   trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
Log:
DMX: when a process is cancel, don't b0rk the XML output

Modified: trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
===================================================================
--- trunk/DvdMenuXtractor/DvdMenuXtractor.cpp	2005-01-09 15:54:51 UTC (rev 1024)
+++ trunk/DvdMenuXtractor/DvdMenuXtractor.cpp	2005-01-09 16:00:02 UTC (rev 1025)
@@ -985,6 +985,9 @@
 			XmlFile.AddLine(IndentString(lvl)+"</ChapterAtom>");
 		}
 		
+		if (start_time == uint64_t(-1))
+			start_time = 0; // unknown
+
 		XmlFile.AddLine(IndentString(lvl)+"<ChapterTimeStart>"+TimeFormat(start_time)+"</ChapterTimeStart>");
 		lvl--;
 		XmlFile.AddLine(IndentString(lvl)+"</ChapterAtom>");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.