diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-01-08 22:22:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-01-08 22:22:01 +0100 |
| commit | 579d18cb7770efe2da03afaf6a33faaf624119e3 (patch) | |
| tree | cc303d8c74e64fff8eb5a663941cac4455154ae9 /src/wx/controls.h | |
| parent | dde431cafbb20ed3356ad5592be56af1d4458f46 (diff) | |
| parent | 23590dc430e4ef2351209e30a26ba04fecca2872 (diff) | |
Merge a set of changes which run the OpenGL video updates in a separatev2.15.40
thread, hopefully making things more elegant and robust.
Diffstat (limited to 'src/wx/controls.h')
| -rw-r--r-- | src/wx/controls.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/wx/controls.h b/src/wx/controls.h index dfa11e6d7..1b6a379cc 100644 --- a/src/wx/controls.h +++ b/src/wx/controls.h @@ -53,6 +53,11 @@ public: virtual void log (wxString) {} virtual void set_film (boost::shared_ptr<Film> film); +#ifdef DCPOMATIC_PLAYER_STRESS_TEST + virtual void play () {}; + virtual void stop () {}; + void seek (int slider); +#endif boost::shared_ptr<Film> film () const; void back_frame (); void forward_frame (); @@ -87,7 +92,7 @@ private: void image_changed (boost::weak_ptr<PlayerVideo>); void outline_content_changed (); void eye_changed (); - void position_changed (); + void update_position (); void film_change (ChangeType, Film::Property); typedef std::pair<boost::shared_ptr<dcp::CPL>, boost::filesystem::path> CPL; @@ -105,6 +110,8 @@ private: ClosedCaptionsDialog* _closed_captions_dialog; + wxTimer _timer; + boost::signals2::scoped_connection _film_change_connection; boost::signals2::scoped_connection _config_changed_connection; }; |
