From 0802245c4c89b9a8557e5f9b238e8317a92ba51d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 15 Apr 2020 00:27:09 +0200 Subject: Seek to last frame if a request is made beyond the end of the film. --- src/wx/film_viewer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index c020a3baf..bff2df0ff 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -462,7 +462,7 @@ FilmViewer::seek (DCPTime t, bool accurate) } if (t >= _film->length ()) { - t = _film->length (); + t = _film->length() - one_video_frame(); } suspend (); -- cgit v1.2.3