summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/film_viewer.cc')
-rw-r--r--src/wx/film_viewer.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 1cf45fd4e..8312fa5e5 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -168,7 +168,9 @@ FilmViewer::slider_moved (wxCommandEvent& ev)
void
FilmViewer::seek_and_update (SourceFrame f)
{
- _decoders.video->seek (f);
+ if (_decoders.video->seek (f)) {
+ return;
+ }
shared_ptr<Image> last = _display;
while (last == _display) {