merge r3542 (vfr export fix) into the 2.1.8 branch

Originally committed to SVN as r3543.
This commit is contained in:
Karl Blomster 2009-09-20 20:52:00 +00:00
parent 7784a2610c
commit 2fa986cd01
1 changed files with 5 additions and 1 deletions

View File

@ -259,7 +259,11 @@ void AssTransformFramerateFilter::TransformFrameRate(AssFile *subs) {
AssDialogue *curDialogue;
for (entryIter cur=subs->Line.begin();cur!=subs->Line.end();cur++) {
curEntry = *cur;
curEntry->SetStartMS(Input->GetTimeAtFrame(Output->GetFrameAtTime(curEntry->GetStartMS(),true),true));
// why the christ was this ever done to begin with?
// yes, let's framerate compensate the start timestamp and then use the changed value to
// compensate it AGAIN 20 lines down? I DO NOT GET IT
// -Fluff
//curEntry->SetStartMS(Input->GetTimeAtFrame(Output->GetFrameAtTime(curEntry->GetStartMS(),true),true));
curDialogue = AssEntry::GetAsDialogue(curEntry);
// Update dialogue entries