[matroska] r818 - trunk/DvdMenuXtractor

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2004-09-18 12:45:21 +0400 (Sat, 18 Sep 2004)
New Revision: 818

Modified:
   trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
Log:
allow multi-angle cells to have different durations (if that's possible on a DVD)

Modified: trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
===================================================================
--- trunk/DvdMenuXtractor/DvdMenuXtractor.cpp	2004-09-18 08:42:24 UTC (rev 817)
+++ trunk/DvdMenuXtractor/DvdMenuXtractor.cpp	2004-09-18 08:45:21 UTC (rev 818)
@@ -863,10 +863,7 @@
 
 				//_TODO_: handle the vobID/cellID to determine the real timecode of the cells !
 
-				if (cell.block_mode == 0 || cell.block_mode == 1) // start cell
-				{
-					end_time = st_time + DvdTimecodeToNano(cell.playback_time);
-				}
+				end_time = st_time + DvdTimecodeToNano(cell.playback_time);
 				DisplayTime(lvl, XmlFile, st_time, end_time);
 				if (cell.block_mode == 0 || cell.block_mode == 3) // end cell
 				{
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.