forked from mia/Aegisub
Stop video playback when seeking due to switching active lines
This commit is contained in:
parent
d73790805a
commit
b370e1af53
1 changed files with 3 additions and 1 deletions
|
@ -84,8 +84,10 @@ void VideoController::OnSubtitlesCommit(int type, std::set<const AssDialogue *>
|
|||
}
|
||||
|
||||
void VideoController::OnActiveLineChanged(AssDialogue *line) {
|
||||
if (line && provider && OPT_GET("Video/Subtitle Sync")->GetBool())
|
||||
if (line && provider && OPT_GET("Video/Subtitle Sync")->GetBool()) {
|
||||
Stop();
|
||||
JumpToTime(line->Start);
|
||||
}
|
||||
}
|
||||
|
||||
void VideoController::RequestFrame() {
|
||||
|
|
Loading…
Reference in a new issue