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

View file

@ -326,12 +326,12 @@ void VideoContext::UpdateDisplays(bool full, bool seek) {
display->UpdateSize(); display->UpdateSize();
display->SetFrameRange(0,GetLength()-1); display->SetFrameRange(0,GetLength()-1);
} }
if (seek) { if (!seek) {
display->SetFrame(GetFrameN());
}
else {
display->Refresh(); display->Refresh();
} }
if (seek || full) {
display->SetFrame(GetFrameN());
}
} }
// Update audio display // Update audio display