Use atomic for _always_burn_open_subtitles.
[dcpomatic.git] / src / lib / player.h
index 18be9d40c8b025770711bac4c4d5737945a75f7b..bbc49c7380cffb91a8e69e985dfb8f20478ef31d 100644 (file)
@@ -182,7 +182,7 @@ private:
        boost::atomic<bool> _ignore_audio;
        /** true if the player should ignore all text; i.e. never produce any */
        boost::atomic<bool> _ignore_text;
-       bool _always_burn_open_subtitles = false;
+       boost::atomic<bool> _always_burn_open_subtitles;
        /** true if we should try to be fast rather than high quality */
        bool _fast = false;
        /** true if we should keep going in the face of `survivable' errors */