diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/text_view.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/text_view.cc b/src/wx/text_view.cc index 66c144628..491df7b3b 100644 --- a/src/wx/text_view.cc +++ b/src/wx/text_view.cc @@ -144,5 +144,6 @@ TextView::subtitle_selected (wxListEvent& ev) DCPOMATIC_ASSERT (lc); shared_ptr<FilmViewer> fv = _film_viewer.lock (); DCPOMATIC_ASSERT (fv); - fv->seek (lc, _start_times[ev.GetIndex()], true); + /* Add on a frame here to work around any rounding errors and make sure land in the subtitle */ + fv->seek (lc, _start_times[ev.GetIndex()] + ContentTime::from_frames(1, _frc->source), true); } |
