diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-01-31 23:10:10 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-01-31 23:10:10 +0000 |
| commit | 0a83994b5308cadc36e08d944bc65c2aef84449e (patch) | |
| tree | 00cebb97df5f34c272bd5d470ad861e99ff973e5 /src | |
| parent | 8c33b64bd3d71641724cee08fa01fb447dbd2eee (diff) | |
Round seek on jump-to-selected to work around problems with sub-frame seeks and the DCP decoder (#1177).
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/content_panel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
