mirror of https://github.com/odrling/Aegisub
merge r3542 (vfr export fix) into the 2.1.8 branch
Originally committed to SVN as r3543.
This commit is contained in:
parent
7784a2610c
commit
2fa986cd01
|
@ -259,7 +259,11 @@ void AssTransformFramerateFilter::TransformFrameRate(AssFile *subs) {
|
||||||
AssDialogue *curDialogue;
|
AssDialogue *curDialogue;
|
||||||
for (entryIter cur=subs->Line.begin();cur!=subs->Line.end();cur++) {
|
for (entryIter cur=subs->Line.begin();cur!=subs->Line.end();cur++) {
|
||||||
curEntry = *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);
|
curDialogue = AssEntry::GetAsDialogue(curEntry);
|
||||||
|
|
||||||
// Update dialogue entries
|
// Update dialogue entries
|
||||||
|
|
Loading…
Reference in New Issue