Fix (?) a bug that caused VFR transformation export to be broken, which also affected certain video providers when external timecodes were used.
Originally committed to SVN as r3542.
This commit is contained in:
parent
57d549f538
commit
3edb446bec
1 changed files with 5 additions and 1 deletions
|
@ -278,7 +278,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 a new issue