From 64c8d64fbc285d867fd7d9721a85810c8866d27d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 9 Jul 2013 23:53:05 +0100 Subject: [PATCH] I'm fairly sure seek should be in terms of the content's frame rate... --- src/lib/player.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/player.cc b/src/lib/player.cc index 4de691c0b..fd697b522 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -359,7 +359,7 @@ Player::seek (Time t, bool accurate) s = min (vc->length(), s); FrameRateConversion frc (vc->video_frame_rate(), _film->dcp_video_frame_rate()); - VideoContent::Frame f = s * _film->dcp_video_frame_rate() / (frc.factor() * TIME_HZ); + VideoContent::Frame f = s * vc->video_frame_rate() / (frc.factor() * TIME_HZ); dynamic_pointer_cast((*i)->decoder)->seek (f, accurate); } -- 2.30.2