summaryrefslogtreecommitdiff
path: root/src/lib/player.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-09-10 15:34:14 +0200
committerCarl Hetherington <cth@carlh.net>2022-09-10 23:20:48 +0200
commitd3251244d0794414001eef5beafa22b67d650863 (patch)
treebbb00b41c500e140f25e638b2f67115321c00791 /src/lib/player.h
parent7b4d4a6c2bc3f5a0f9216fdb8d96bbe952aa49ee (diff)
Use atomic for _ignore_audio.
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 c65ec40fe..03b7ffebd 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -179,7 +179,7 @@ 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;