summaryrefslogtreecommitdiff
path: root/src/lib/player.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-09-10 15:43:18 +0200
committerCarl Hetherington <cth@carlh.net>2022-09-10 23:20:57 +0200
commit167b5edb8a1760a8532b2973cd7cca70333249f1 (patch)
tree13dff47105a3df182772611e91fffbc6a3ae3b0d /src/lib/player.h
parentde522946acfd022b5084434fbcfd225499a17293 (diff)
Use atomic for _play_referenced.
Diffstat (limited to 'src/lib/player.h')
-rw-r--r--src/lib/player.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player.h b/src/lib/player.h
index d16666bc5..511a579a0 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -188,7 +188,7 @@ private:
/** true if we should keep going in the face of `survivable' errors */
bool const _tolerant;
/** true if we should `play' (i.e output) referenced DCP data (e.g. for preview) */
- bool _play_referenced = false;
+ boost::atomic<bool> _play_referenced;
/** Time of the next video that we will emit, or the time of the last accurate seek */
boost::optional<dcpomatic::DCPTime> _next_video_time;