[matroska] r755 - trunk/DvdMenuXtractor

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2004-09-08 13:50:41 +0400 (Wed, 08 Sep 2004)
New Revision: 755

Modified:
   trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
Log:
prepare for more fun with support of all DVD domains

Modified: trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
===================================================================
--- trunk/DvdMenuXtractor/DvdMenuXtractor.cpp	2004-09-08 09:36:24 UTC (rev 754)
+++ trunk/DvdMenuXtractor/DvdMenuXtractor.cpp	2004-09-08 09:50:41 UTC (rev 755)
@@ -68,7 +68,8 @@
 // GLOBAL
 // ----------------------------------------------------------------------------
 
-IFOFile* IfoFile = NULL;
+IFOFile* IfoFile = NULL;
+IFOFile* MovieFile = NULL;
 wxLogWindow* wxLogWin;
 const wxString APPLICATION_NAME = "DVDMenu-X-tractor";
 
@@ -273,10 +274,13 @@
         if(IfoFile != NULL)
         {
             delete IfoFile;
-        }
+        }
+		if (MovieFile != NULL)
+			delete MovieFile;
         try
         {
-            IfoFile = new IFOFile(m_edMenuIFOFilename->GetValue());
+            IfoFile = new IFOFile(m_edMenuIFOFilename->GetValue());
+			MovieFile = new IFOFile(m_edMovieIFOFilename->GetValue());
         }
         catch(IFOException&)
         {
@@ -875,7 +879,7 @@
 					// display the UID for the lazy rippers
 					XmlFile.AddLine(IndentString(lvl)+"<ChapterDisplay>");
 						lvl++;
-						XmlFile.AddLine(IndentString(lvl)+"<ChapterString>"+_myUID+"</ChapterString>");
+						XmlFile.AddLine(IndentString(lvl)+"<ChapterString>First Play PGC "+_myUID+"</ChapterString>");
 						lvl--;
 					XmlFile.AddLine(IndentString(lvl)+"</ChapterDisplay>");
 					
@@ -886,6 +890,13 @@
 				XmlFile.AddLine(IndentString(lvl)+"</ChapterAtom>");
 				lvl--;
 			}
+			
+			// Write the Video Manager
+			
+			// Write the Video Title
+/*			if (MovieFile->ttto())*/
+			{
+			}
 
 			lvl--;
 			XmlFile.AddLine(IndentString(lvl)+"</EditionEntry>");
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.