Use atomic for _fast.
[dcpomatic.git] / src / lib / player.h
index c65ec40fe561f621cbd2a3a6aa4a80cdebc221ae..d16666bc51a4394bd92f49c7cd4fc442f6eca118 100644 (file)
@@ -179,12 +179,12 @@ private:
 
        /** true if the player should ignore all video; i.e. never produce any */
        boost::atomic<bool> _ignore_video;
-       bool _ignore_audio = false;
+       boost::atomic<bool> _ignore_audio;
        /** true if the player should ignore all text; i.e. never produce any */
-       bool _ignore_text = false;
-       bool _always_burn_open_subtitles = false;
+       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) */