diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-10 15:41:14 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-09-10 23:20:54 +0200 |
| commit | de522946acfd022b5084434fbcfd225499a17293 (patch) | |
| tree | afabb693bddbc97c69689601bf9612805e85b5eb /src/lib/player.h | |
| parent | c2febf6895f80b2d75cceb01bf0f9b0970c1b7d5 (diff) | |
Use atomic for _fast.
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 bbc49c738..d16666bc5 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -184,7 +184,7 @@ private: boost::atomic<bool> _ignore_text; boost::atomic<bool> _always_burn_open_subtitles; /** true if we should try to be fast rather than high quality */ - bool _fast = false; + boost::atomic<bool> _fast; /** true if we should keep going in the face of `survivable' errors */ bool const _tolerant; /** true if we should `play' (i.e output) referenced DCP data (e.g. for preview) */ |
