X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fgl_video_view.h;h=827b12861c5d47ccb5caadadc668fdbb5b5222b2;hb=f77529bdfa01ae13f889442900988fc401b63c62;hp=4f509049b3d4d954b60fd748f36f7188c24f9dff;hpb=b3b371294ed5e6cc18ef64ba1b06ca76726b903a;p=dcpomatic.git diff --git a/src/wx/gl_video_view.h b/src/wx/gl_video_view.h index 4f509049b..827b12861 100644 --- a/src/wx/gl_video_view.h +++ b/src/wx/gl_video_view.h @@ -57,6 +57,10 @@ private: void create (); void check_for_butler_errors (); + /* Mutex for use of _canvas; it's only contended when our ::thread + is started up so this may be overkill. + */ + boost::mutex _canvas_mutex; wxGLCanvas* _canvas; wxGLContext* _context;