summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-20 22:18:33 +0100
committerCarl Hetherington <cth@carlh.net>2020-01-08 21:56:47 +0100
commit83c9e9c858072ab919916269790dcc65565fdd25 (patch)
treeec0dc30ff0bd6b15fbd281893576536b82c22190 /src/wx/gl_video_view.h
parent4f7e9f125716a27ed9e2a8e30f067100cbee773a (diff)
Don't try opening error dialogues from the GL thread.
Diffstat (limited to 'src/wx/gl_video_view.h')
-rw-r--r--src/wx/gl_video_view.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h
index a9264f05d..614393024 100644
--- a/src/wx/gl_video_view.h
+++ b/src/wx/gl_video_view.h
@@ -55,6 +55,7 @@ private:
void thread ();
void request_one_shot ();
void create ();
+ void check_for_butler_errors ();
wxGLCanvas* _canvas;
wxGLContext* _context;
@@ -68,4 +69,6 @@ private:
boost::condition _playing_condition;
bool _playing;
bool _one_shot;
+
+ boost::shared_ptr<wxTimer> _timer;
};