diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-11-21 00:05:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-01-08 21:56:47 +0100 |
| commit | 9001a63be211fd8e97431f8fc07c66af01554f5a (patch) | |
| tree | e9d0c4e164d7cf0f0dc95db00caa5f04f042dd12 /src/wx/video_view.h | |
| parent | 386e25f3b9d3fa59cbdeed458d9b3e0d21e338b8 (diff) | |
Move _state_timer into VideoView.
Diffstat (limited to 'src/wx/video_view.h')
| -rw-r--r-- | src/wx/video_view.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/video_view.h b/src/wx/video_view.h index 8d9dce68d..4a94aa879 100644 --- a/src/wx/video_view.h +++ b/src/wx/video_view.h @@ -22,6 +22,7 @@ #define DCPOMATIC_VIDEO_VIEW_H #include "lib/dcpomatic_time.h" +#include "lib/timer.h" #include <boost/shared_ptr.hpp> #include <boost/signals2.hpp> #include <boost/thread.hpp> @@ -62,6 +63,10 @@ public: return _dropped; } + StateTimer const & state_timer () const { + return _state_timer; + } + dcpomatic::DCPTime position () const { boost::mutex::scoped_lock lm (_mutex); return _player_video.second; @@ -113,6 +118,8 @@ protected: int _watermark_y; #endif + StateTimer _state_timer; + private: /** Mutex protecting all the state in VideoView */ mutable boost::mutex _mutex; |
