diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/film_viewer.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |
