summaryrefslogtreecommitdiff
path: root/src/lib/player.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-09-10 15:40:07 +0200
committerCarl Hetherington <cth@carlh.net>2022-09-10 23:20:52 +0200
commitc2febf6895f80b2d75cceb01bf0f9b0970c1b7d5 (patch)
treea3bf7f3bbe19b0a4800f4f59a031a09d9f025b21 /src/lib/player.h
parentd41c3bb9ebfb450316e6c79fdf0281ac2e155aa1 (diff)
Use atomic for _always_burn_open_subtitles.
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 18be9d40c..bbc49c738 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -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 */