diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-29 21:47:29 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-29 21:49:12 +0000 |
| commit | 4c2ae591ee17599b4fbb7ffc24a06f27ed985c05 (patch) | |
| tree | e7b154bed1333d4109717226a9462d7e11ab3490 /src/lib | |
| parent | 10e4674e2a0d4d2652ad84372daa2783e4744e62 (diff) | |
Fix typo causing incorrectly timed subtitles when their content
position is non-zero.
Reported-by: Thierry Journet
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index ce5109733..1c54d0fc5 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -695,7 +695,7 @@ Player::update_subtitle () to = rint (to * vc->video_frame_rate() / _film->video_frame_rate()); } - _out_subtitle.from = from * piece->content->position (); + _out_subtitle.from = from + piece->content->position (); _out_subtitle.to = to + piece->content->position (); } |
