projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eab969
)
swaroop: go to black on stop in player.
author
Carl Hetherington
<cth@carlh.net>
Tue, 9 Oct 2018 19:11:01 +0000
(20:11 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 9 Oct 2018 19:11:36 +0000
(20:11 +0100)
src/tools/dcpomatic_player.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_player.cc
b/src/tools/dcpomatic_player.cc
index 5bc9ace36fe6deb4e7fc5cf9747448a18d5d177d..cc6e294ff6e0b2108a8e454b8ca3c72f00685001 100644
(file)
--- a/
src/tools/dcpomatic_player.cc
+++ b/
src/tools/dcpomatic_player.cc
@@
-383,7
+383,8
@@
public:
/* Start off as Flat */
_film->set_container (Ratio::from_id("185"));
- DCPTime position;
+ /* Put 1 frame of black at the start so when we seek to 0 we don't see anything */
+ DCPTime position = DCPTime::from_frames(1, _film->video_frame_rate());
shared_ptr<DCPContent> first;
BOOST_FOREACH (SPLEntry i, spl) {