summaryrefslogtreecommitdiff
path: root/src/wx/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/video_view.h
parent694a9f48880efd428c8137e975de3581ad0a75a9 (diff)
Various timing hacks and development.
Diffstat (limited to 'src/wx/video_view.h')
-rw-r--r--src/wx/video_view.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/wx/video_view.h b/src/wx/video_view.h
index 827d1bf73..d6e76ada7 100644
--- a/src/wx/video_view.h
+++ b/src/wx/video_view.h
@@ -53,13 +53,15 @@ public:
boost::signals2::signal<void()> Sized;
- /* XXX_b: to remove */
- virtual bool get (bool) {
- return true;
- }
+ virtual bool display_next_frame (bool) = 0;
+
/* XXX_b: to remove */
virtual void display_player_video () {}
+ dcpomatic::DCPTime position () const {
+ return _player_video.second;
+ }
+
protected:
/* XXX_b: to remove */
friend class FilmViewer;