diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-10 15:37:31 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-09-10 23:20:50 +0200 |
| commit | d41c3bb9ebfb450316e6c79fdf0281ac2e155aa1 (patch) | |
| tree | 759a983eed7b1be5c7b8ec51ab29d02b5ca12c9d /src/lib/player.h | |
| parent | d3251244d0794414001eef5beafa22b67d650863 (diff) | |
Use atomic for _ignore_text.
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 03b7ffebd..18be9d40c 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -181,7 +181,7 @@ private: boost::atomic<bool> _ignore_video; boost::atomic<bool> _ignore_audio; /** true if the player should ignore all text; i.e. never produce any */ - bool _ignore_text = false; + boost::atomic<bool> _ignore_text; bool _always_burn_open_subtitles = false; /** true if we should try to be fast rather than high quality */ bool _fast = false; |
