[matroska] r1040 - trunk/DvdMenuXtractor

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2005-01-18 16:24:48 +0300 (Tue, 18 Jan 2005)
New Revision: 1040

Modified:
   trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
Log:
DMX: fix the LinkID output, even though it will need changes...

Modified: trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
===================================================================
--- trunk/DvdMenuXtractor/DvdMenuXtractor.cpp	2005-01-17 21:42:30 UTC (rev 1039)
+++ trunk/DvdMenuXtractor/DvdMenuXtractor.cpp	2005-01-18 13:24:48 UTC (rev 1040)
@@ -1232,7 +1232,7 @@
 			lvl++;
 				XmlFile.AddLine(IndentString(lvl)+"<LinkEditionUID>"+editionUID+"</LinkEditionUID>");
 				XmlFile.AddLine(IndentString(lvl)+"<LinkCodec>1</LinkCodec>");
-				XmlFile.AddLine(IndentString(lvl)+"<LinkID format=\"ascii\">TODO</LinkID>");
+				XmlFile.AddLine(IndentString(lvl)+wxString::Format("<LinkID format=\"hex\">%02x 00</LinkID>", title));
 			lvl--;
 			XmlFile.AddLine(IndentString(lvl)+"</Links>");
 		XmlFile.AddLine(IndentString(lvl)+"<EditionEntry>");
@@ -1322,7 +1322,7 @@
 			lvl++;
 				XmlFile.AddLine(IndentString(lvl)+"<LinkEditionUID>"+editionUID+"</LinkEditionUID>");
 				XmlFile.AddLine(IndentString(lvl)+"<LinkCodec>1</LinkCodec>");
-				XmlFile.AddLine(IndentString(lvl)+"<LinkID format=\"ascii\">TODO</LinkID>");
+				XmlFile.AddLine(IndentString(lvl)+wxString::Format("<LinkID format=\"hex\">%02x 01</LinkID>", title));
 			lvl--;
 			XmlFile.AddLine(IndentString(lvl)+"</Links>");
         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.