mirror of https://github.com/odrling/Aegisub
Remove an entirely pointless GUI-thread-blocking call to GetFrame
This commit is contained in:
parent
f38ba33fed
commit
ce29d07113
|
@ -79,8 +79,6 @@ void VideoController::OnSubtitlesCommit(int type, std::set<const AssDialogue *>
|
||||||
provider->LoadSubtitles(context->ass.get());
|
provider->LoadSubtitles(context->ass.get());
|
||||||
else
|
else
|
||||||
provider->UpdateSubtitles(context->ass.get(), changed);
|
provider->UpdateSubtitles(context->ass.get(), changed);
|
||||||
if (!IsPlaying())
|
|
||||||
provider->GetFrame(frame_n, TimeAtFrame(frame_n));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void VideoController::OnActiveLineChanged(AssDialogue *line) {
|
void VideoController::OnActiveLineChanged(AssDialogue *line) {
|
||||||
|
|
Loading…
Reference in New Issue