summaryrefslogtreecommitdiff
path: root/src/lib/player.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-09-10 15:41:14 +0200
committerCarl Hetherington <cth@carlh.net>2022-09-10 23:20:54 +0200
commitde522946acfd022b5084434fbcfd225499a17293 (patch)
treeafabb693bddbc97c69689601bf9612805e85b5eb /src/lib/player.h
parentc2febf6895f80b2d75cceb01bf0f9b0970c1b7d5 (diff)
Use atomic for _fast.
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 bbc49c738..d16666bc5 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -184,7 +184,7 @@ private:
boost::atomic<bool> _ignore_text;
boost::atomic<bool> _always_burn_open_subtitles;
/** true if we should try to be fast rather than high quality */
- bool _fast = false;
+ boost::atomic<bool> _fast;
/** 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) */