Round seek on jump-to-selected to work around problems with sub-frame seeks and the...
authorCarl Hetherington <cth@carlh.net>
Wed, 31 Jan 2018 23:10:10 +0000 (23:10 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 31 Jan 2018 23:10:10 +0000 (23:10 +0000)
src/wx/content_panel.cc

index fa3754dd67381c7547641c7338c95d2634b181e0..6bcffd37772ecf44d724200ca1ee86514f16c73d 100644 (file)
@@ -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) {