projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f3e8368
)
Compile fix for ubuntu-16.04-era gcc.
author
Carl Hetherington
<cth@carlh.net>
Mon, 15 Feb 2021 20:15:37 +0000
(21:15 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 15 Feb 2021 20:15:37 +0000
(21:15 +0100)
src/lib/player.cc
patch
|
blob
|
history
diff --git
a/src/lib/player.cc
b/src/lib/player.cc
index 36d3fde67109ca51fe59aa8acdac8445a672b65e..a5538d9a6103120ec69b2543f6ac4d4eff004ff0 100644
(file)
--- 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);
_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_video_eyes = Eyes::BOTH;
- _last_audio_time =
{}
;
+ _last_audio_time =
boost::optional<dcpomatic::DCPTime>()
;
}
}