[matroska] r777 - trunk/DvdMenuXtractor

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2004-09-10 16:17:40 +0400 (Fri, 10 Sep 2004)
New Revision: 777

Modified:
   trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
Log:
add a TODO to handle the real cell timecodes in the final file (for example to play a movie with backward scenes)

Modified: trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
===================================================================
--- trunk/DvdMenuXtractor/DvdMenuXtractor.cpp	2004-09-10 11:55:18 UTC (rev 776)
+++ trunk/DvdMenuXtractor/DvdMenuXtractor.cpp	2004-09-10 12:17:40 UTC (rev 777)
@@ -898,7 +898,8 @@
 			next_program_entry_cell_num = pgc->program_map[program_number+1];
 		for (int cell_num = entry_cell_num; cell_num<next_program_entry_cell_num; cell_num++)
 		{
-			// Output cells
+			// Output cells
+			
 			XmlFile.AddLine(IndentString(lvl)+wxString::Format("<!-- Program %sCell #%d -->",(cell_num==entry_cell_num)?"Entry ":"", cell_num));
 			XmlFile.AddLine(IndentString(lvl)+"<ChapterAtom>");
 				lvl++;
@@ -911,7 +912,9 @@
 				_PrivateCN[2] = (position.vob_id_nr) & 0xFF;
 				_PrivateCN[3] = position.cell_nr;
 				XmlFile.AddLine(IndentString(lvl)+"<ChapterProcessPrivate>"+encodebase64(_PrivateCN,4)+"</ChapterProcessPrivate>");
-			
+
+				//_TODO_: handle the vobID/cellID to determine the real timecode of the cells !
+
 				end_time = st_time + DvdTimecodeToNano(cell.playback_time);
 				DisplayTime(lvl, XmlFile, st_time, end_time);
 				st_time = end_time;
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.