mirror of https://github.com/odrling/Aegisub
Update the time boxes in the video display when video is first loaded
Originally committed to SVN as r4650.
This commit is contained in:
parent
65d40e2408
commit
2c2dc19f4f
|
@ -326,12 +326,12 @@ void VideoContext::UpdateDisplays(bool full, bool seek) {
|
|||
display->UpdateSize();
|
||||
display->SetFrameRange(0,GetLength()-1);
|
||||
}
|
||||
if (seek) {
|
||||
display->SetFrame(GetFrameN());
|
||||
}
|
||||
else {
|
||||
if (!seek) {
|
||||
display->Refresh();
|
||||
}
|
||||
if (seek || full) {
|
||||
display->SetFrame(GetFrameN());
|
||||
}
|
||||
}
|
||||
|
||||
// Update audio display
|
||||
|
|
Loading…
Reference in New Issue