[matroska] r900 - trunk/DvdMenuXtractor

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2004-10-19 23:52:44 +0400 (Tue, 19 Oct 2004)
New Revision: 900

Modified:
   trunk/DvdMenuXtractor/VobParser.cpp
Log:
cleaner fix

Modified: trunk/DvdMenuXtractor/VobParser.cpp
===================================================================
--- trunk/DvdMenuXtractor/VobParser.cpp	2004-10-19 19:19:18 UTC (rev 899)
+++ trunk/DvdMenuXtractor/VobParser.cpp	2004-10-19 19:52:44 UTC (rev 900)
@@ -7,7 +7,7 @@
 #include <assert.h>
 
 #include "wx/listimpl.cpp"
-#include <wx/dir.h>
+#include <wx/filename.h>
 WX_DEFINE_LIST(ButtonsListType);
 
 // ----------------------------------------------------------------------------
@@ -84,10 +84,10 @@
 {
 	m_pktcount = 0;
 
-	wxDir _tmpDirName(dirname);
+	wxFileName _tmpDirName(dirname);
 
 	// handle all parts of this title (VIDEO_TS.vob or VTS_XX_Y.vob)
-	m_dvdhandle = DVDOpen(_tmpDirName.GetName().c_str());
+	m_dvdhandle = DVDOpen(_tmpDirName.GetPath(wxPATH_GET_VOLUME).c_str());
 
 	if (m_dvdhandle)
 	{
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.