summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/gl_video_view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h
index f129b6ed5..d9e03823b 100644
--- a/src/wx/gl_video_view.h
+++ b/src/wx/gl_video_view.h
@@ -72,8 +72,8 @@ private:
boost::mutex _playing_mutex;
boost::condition _thread_work_condition;
- bool _playing;
- bool _one_shot;
+ boost::atomic<bool> _playing;
+ boost::atomic<bool> _one_shot;
boost::shared_ptr<wxTimer> _timer;
};