mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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…
x
Reference in New Issue
Block a user