diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-09 23:53:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-09 23:53:05 +0100 |
| commit | 64c8d64fbc285d867fd7d9721a85810c8866d27d (patch) | |
| tree | 5a9b15696a8ba2631298a2fe415c4551d2fee172 /src/lib | |
| parent | 916ff1a85dbb89ccdba2e27246d8097367cefdf3 (diff) | |
I'm fairly sure seek should be in terms of the content's frame rate...
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 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<VideoDecoder>((*i)->decoder)->seek (f, accurate); } |
