From 8c09738a28a4a9c0ae59a7486224cb3b4e850b57 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 18 Apr 2018 01:27:28 +0100 Subject: [PATCH 1/1] Use round() when moving the slider - try to make it the same as trim so that there are no surprises. --- src/wx/film_viewer.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index ccb2b790d..2c0712e92 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -421,6 +421,7 @@ FilmViewer::slider_moved (bool page) } DCPTime t (_slider->GetValue() * _film->length().get() / 4096); + t = t.round (_film->video_frame_rate()); /* Ensure that we hit the end of the film at the end of the slider */ if (t >= _film->length ()) { t = _film->length() - one_video_frame(); -- 2.30.2