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 36d3fde67109ca51fe59aa8acdac8445a672b65e..a5538d9a6103120ec69b2543f6ac4d4eff004ff0 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>();
 }