projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
916ff1a
)
I'm fairly sure seek should be in terms of the content's frame rate...
author
Carl Hetherington
<cth@carlh.net>
Tue, 9 Jul 2013 22:53:05 +0000
(23:53 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 9 Jul 2013 22:53:05 +0000
(23:53 +0100)
src/lib/player.cc
patch
|
blob
|
history
diff --git
a/src/lib/player.cc
b/src/lib/player.cc
index 4de691c0bd2d70b4517b720acb319215675c9c48..fd697b522b1762c72fd86d7606182ab424ce9740 100644
(file)
--- 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);
}