forked from mia/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
1 changed files with 4 additions and 4 deletions
|
@ -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 a new issue