diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-04-23 23:11:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-23 23:11:48 +0100 |
| commit | 1bb2e84e9a0037b95bd938abf0955176058a5977 (patch) | |
| tree | 1668d45210f3bade40e0b702edba0b71d8c9d08e /src/lib/player.h | |
| parent | d24479e588b88e32bb4cd077d1648b7d043b5e07 (diff) | |
Tidy up _last_video_time to make it more like _last_audio_time.
Diffstat (limited to 'src/lib/player.h')
| -rw-r--r-- | src/lib/player.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/player.h b/src/lib/player.h index dec4529ba..684de53f5 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -140,11 +140,12 @@ private: /** Last PlayerVideo that was emitted */ boost::shared_ptr<PlayerVideo> _last_video; - /** Time of the last video we emitted, or the last seek time */ + /** Time just after the last video frame we emitted, or the last seek time */ boost::optional<DCPTime> _last_video_time; + /** Time just after the last audio frame we emitted, or the last seek time */ + boost::optional<DCPTime> _last_audio_time; AudioMerger _audio_merger; - boost::optional<DCPTime> _last_audio_time; class StreamState { public: |
