diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-03-23 00:28:40 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-03-23 00:28:40 +0000 |
| commit | 3c42365762079289499bdc25144bb90b2e3509c6 (patch) | |
| tree | 95083e45412b54f018d907e75192c17c92d3680d /src/wx | |
| parent | 7bc349aa8da5a046a9e1b0c08e3fc657c380386b (diff) | |
Add space shortcut to start/stop playback (#1201).
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/film_viewer.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index a41cb310e..190396601 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -66,6 +66,12 @@ public: return _dropped; } + void start (); + bool stop (); + bool playing () const { + return _playing; + } + int audio_callback (void* out, unsigned int frames); boost::signals2::signal<void (boost::weak_ptr<PlayerVideo>)> ImageChanged; @@ -100,8 +106,6 @@ private: void recreate_butler (); void config_changed (Config::Property); DCPTime time () const; - void start (); - bool stop (); Frame average_latency () const; DCPTime one_video_frame () const; |
