diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-10 16:12:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-10 16:12:40 +0100 |
| commit | 7cd7b360169493d864206e2cdfb4f688cf5a12cf (patch) | |
| tree | 4ee0d8d6bbdbd52631e874bf0a1a73ca209d8243 /src/lib/encoder.h | |
| parent | 5e8f1fb8d6dac786983a8e96cc6ee119506c200a (diff) | |
Resurrect neater repeat-write handling.
Diffstat (limited to 'src/lib/encoder.h')
| -rw-r--r-- | src/lib/encoder.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h index 3b8c233bb..8b7c1f3ad 100644 --- a/src/lib/encoder.h +++ b/src/lib/encoder.h @@ -98,8 +98,8 @@ private: /** Number of frames that we should keep history for */ static int const _history_size; - /** Number of video frames written for the DCP so far */ - int _video_frames_out; + /** Number of video frames enqueued so far */ + int _video_frames_enqueued; bool _terminate; std::list<boost::shared_ptr<DCPVideo> > _queue; @@ -113,6 +113,8 @@ private: boost::shared_ptr<Writer> _writer; Waker _waker; + boost::shared_ptr<PlayerVideo> _last_player_video; + boost::signals2::scoped_connection _server_found_connection; }; |
