Author: robux4
Date: 2004-10-25 16:37:09 +0400 (Mon, 25 Oct 2004)
New Revision: 916
Modified:
trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
trunk/DvdMenuXtractor/VobParser.cpp
Log:
store .sub with the same format as vsrip (?)
Modified: trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
===================================================================
--- trunk/DvdMenuXtractor/DvdMenuXtractor.cpp 2004-10-25 12:06:40 UTC (rev 915)
+++ trunk/DvdMenuXtractor/DvdMenuXtractor.cpp 2004-10-25 12:37:09 UTC (rev 916)
@@ -1278,7 +1278,7 @@
virtual void AfterShow(void)
{
- const int NbsStep = 4;
+ const int NbsStep = 3;
wxString StepString, StepStringFormat = "Step %d/%d : %s...";
m_OperationInProgress = TRUE;
@@ -1326,13 +1326,13 @@
m_txtDemuxLog->AppendText(StepString+"\n");
m_lbStep->Update();
ConvertAudioToWAV(title, language);
-*/
+* /
StepString = StepString.Format(StepStringFormat, Step++, NbsStep, "Converting button mask to bitmap");
m_lbStep->SetLabel(StepString);
m_txtDemuxLog->AppendText(StepString+"\n");
m_lbStep->Update();
ConvertButtonMaskToBMP(title, language);
-
+*/
delete aVobParser;
}
language = !language;
Modified: trunk/DvdMenuXtractor/VobParser.cpp
===================================================================
--- trunk/DvdMenuXtractor/VobParser.cpp 2004-10-25 12:06:40 UTC (rev 915)
+++ trunk/DvdMenuXtractor/VobParser.cpp 2004-10-25 12:37:09 UTC (rev 916)
@@ -653,8 +653,8 @@
if(m_demuxer)
{
- uint16_t subDataLen = length - (m_index - dataStartIndex);
- m_demuxer->ProcessSubStream(&m_buff[m_index], subDataLen, substreamID);
+ // .sub files the VobSub way (includes the whole packet)
+ m_demuxer->ProcessSubStream(m_buff, DVD_VIDEO_LB_LEN, substreamID);
}
}
else if(substreamID >= SUBSTREAM_AC3_LOW && substreamID < SUBSTREAM_AC3_HIGH)
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.