Sort inactive markers so that lower_bound will actually work when lines are out of order or overlapping
Originally committed to SVN as r6238.
This commit is contained in:
parent
c84275d6fa
commit
58c7bbd78a
1 changed files with 1 additions and 0 deletions
|
@ -582,6 +582,7 @@ void AudioTimingControllerDialogue::RegenerateInactiveLines()
|
||||||
context->audioController->SamplesFromMilliseconds(line->End), false));
|
context->audioController->SamplesFromMilliseconds(line->End), false));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
sort(inactive_markers.begin(), inactive_markers.end());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue