summaryrefslogtreecommitdiff
path: root/src/wx/gl_video_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-06 01:09:13 +0100
committerCarl Hetherington <cth@carlh.net>2020-01-08 21:56:47 +0100
commit805487369e57e5eb57911805ba6de78b653d79ad (patch)
tree73c07ac5f6617c915df2f50d695367d3d6c56a6c /src/wx/gl_video_view.h
parent694a9f48880efd428c8137e975de3581ad0a75a9 (diff)
Various timing hacks and development.
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 e32a1ede9..4ad4b1283 100644
--- a/src/wx/gl_video_view.h
+++ b/src/wx/gl_video_view.h
@@ -40,6 +40,8 @@ public:
void update ();
void start ();
+ bool display_next_frame (bool);
+
bool vsync_enabled () const {
return _vsync_enabled;
}
@@ -59,4 +61,5 @@ private:
boost::optional<dcp::Size> _size;
bool _vsync_enabled;
boost::thread* _thread;
+ bool _one_shot;
};