From: Carl Hetherington Date: Wed, 31 Jan 2018 23:10:10 +0000 (+0000) Subject: Round seek on jump-to-selected to work around problems with sub-frame seeks and the... X-Git-Tag: v2.11.47~5 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=0a83994b5308cadc36e08d944bc65c2aef84449e Round seek on jump-to-selected to work around problems with sub-frame seeks and the DCP decoder (#1177). --- diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index fa3754dd6..6bcffd377 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -273,7 +273,7 @@ ContentPanel::selection_changed () } if (go_to && Config::instance()->jump_to_selected ()) { - _film_viewer->set_position (go_to.get ()); + _film_viewer->set_position (go_to.get().ceil(_film->video_frame_rate())); } if (_timeline_dialog) {