Update the time boxes in the video display when video is first loaded

Originally committed to SVN as r4650.
This commit is contained in:
Thomas Goyne 2010-06-30 06:39:27 +00:00
parent 65d40e2408
commit 2c2dc19f4f
1 changed files with 4 additions and 4 deletions

View File

@ -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