diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-10-09 20:11:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-10-09 20:11:36 +0100 |
| commit | 4042290c541734f529979ed45c19b0623a1d99c2 (patch) | |
| tree | 99c927319f221f7c639b4f3ac22cb4b6fd9f6adf /src | |
| parent | 2eab969654eca2ef4b222790c8b730a6eb709565 (diff) | |
swaroop: go to black on stop in player.
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic_player.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc index 5bc9ace36..cc6e294ff 100644 --- 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) { |
