diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-22 00:38:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-22 00:38:54 +0100 |
| commit | 142616158f82796d6d7512a31694d90ea8ae52b1 (patch) | |
| tree | b91dac85e69323783e00672b30dd46a82ef4aeef /src/wx | |
| parent | 282cd9584fb4d26b2c750ffceec9b42c09131b4c (diff) | |
Log playback start and stop timecodes.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/film_viewer.cc | 4 | ||||
| -rw-r--r-- | src/wx/film_viewer.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index a27c0053d..4f5a16da8 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -422,7 +422,7 @@ FilmViewer::start () _playing = true; _dropped = 0; timer (); - Started (); + Started (position()); } bool @@ -438,7 +438,7 @@ FilmViewer::stop () } _playing = false; - Stopped (); + Stopped (position()); return true; } diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index 0e44994de..fe0faca37 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -89,8 +89,8 @@ public: boost::signals2::signal<void (boost::weak_ptr<PlayerVideo>)> ImageChanged; boost::signals2::signal<void ()> PositionChanged; - boost::signals2::signal<void ()> Started; - boost::signals2::signal<void ()> Stopped; + boost::signals2::signal<void (DCPTime)> Started; + boost::signals2::signal<void (DCPTime)> Stopped; boost::signals2::signal<void ()> FilmChanged; boost::signals2::signal<bool ()> PlaybackPermitted; |
