Compile fix for ubuntu-16.04-era gcc.
authorCarl Hetherington <cth@carlh.net>
Mon, 15 Feb 2021 20:15:37 +0000 (21:15 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 15 Feb 2021 20:15:37 +0000 (21:15 +0100)
src/lib/player.cc

index 36d3fde..a5538d9 100644 (file)
@@ -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>();
 }