[matroska] r1077 - trunk/DvdMenuXtractor
| Newsgroups | gmane.comp.multimedia.matroska.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: robux4
Date: 2005-02-17 01:03:25 +0300 (Thu, 17 Feb 2005)
New Revision: 1077
Modified:
trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
Log:
DMX: always put the video as the first stream
Modified: trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
===================================================================
--- trunk/DvdMenuXtractor/DvdMenuXtractor.cpp 2005-02-14 13:44:03 UTC (rev 1076)
+++ trunk/DvdMenuXtractor/DvdMenuXtractor.cpp 2005-02-16 22:03:25 UTC (rev 1077)
@@ -73,7 +73,7 @@
wxString outputDirectory;
wxString mtxDirectory;
const wxString APPLICATION_NAME = "DVDMenuXtractor: DMX - a fair-use tool";
-const wxString APPLICATION_VERSION = "0.9.2";
+const wxString APPLICATION_VERSION = "0.9.3";
// ----------------------------------------------------------------------------
@@ -781,8 +781,14 @@
}
// create the command line using the list of used files
+ // alwways put video first
+ if (demuxer.FileExists(VIDEO_STREAM))
+ MtxCommandString += demuxer.GetString(VIDEO_STREAM);
+
for (_stream = 0; _stream < 256; _stream++)
{
+ if (_stream == VIDEO_STREAM)
+ continue;
if (demuxer.FileExists(_stream))
MtxCommandString += demuxer.GetString(_stream);
}