diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-10 15:32:24 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-09-10 23:20:44 +0200 |
| commit | 7b4d4a6c2bc3f5a0f9216fdb8d96bbe952aa49ee (patch) | |
| tree | c0f06a295e0d569c042b5d79a04ee55d709159fc /src/lib/player.h | |
| parent | 82c6dfe9f286e07bdaf3434593ce1c9bd0ee2677 (diff) | |
Use atomic for _ignore_video.
Diffstat (limited to 'src/lib/player.h')
| -rw-r--r-- | src/lib/player.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player.h b/src/lib/player.h index 71b3cc464..c65ec40fe 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -178,7 +178,7 @@ private: std::shared_ptr<Image> _black_image; /** true if the player should ignore all video; i.e. never produce any */ - bool _ignore_video = false; + boost::atomic<bool> _ignore_video; bool _ignore_audio = false; /** true if the player should ignore all text; i.e. never produce any */ bool _ignore_text = false; |
