From 4c2ae591ee17599b4fbb7ffc24a06f27ed985c05 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 29 Jan 2014 21:47:29 +0000 Subject: Fix typo causing incorrectly timed subtitles when their content position is non-zero. Reported-by: Thierry Journet --- src/lib/player.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') 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 (); } -- cgit v1.2.3