diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-02-15 21:15:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-02-15 21:15:37 +0100 |
| commit | 0ea5770b820c31852e6beb52bd0463c8d28257e6 (patch) | |
| tree | 4fd8a9789333f117188c22af4ae5bda8085d7a90 /src/lib | |
| parent | f3e8368c2fe1d1ecfb41b3a81034b93281541ca4 (diff) | |
Compile fix for ubuntu-16.04-era gcc.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/player.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 36d3fde67..a5538d9a6 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -285,9 +285,9 @@ Player::setup_pieces_unlocked () _black = Empty (_film, playlist(), bind(&have_video, _1), _playback_length); _silent = Empty (_film, playlist(), bind(&have_audio, _1), _playback_length); - _last_video_time = {}; + _last_video_time = boost::optional<dcpomatic::DCPTime>(); _last_video_eyes = Eyes::BOTH; - _last_audio_time = {}; + _last_audio_time = boost::optional<dcpomatic::DCPTime>(); } |
