From 7cd7b360169493d864206e2cdfb4f688cf5a12cf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 10 Jun 2015 16:12:40 +0100 Subject: Resurrect neater repeat-write handling. --- src/lib/encoder.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib/encoder.h') 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 > _queue; @@ -113,6 +113,8 @@ private: boost::shared_ptr _writer; Waker _waker; + boost::shared_ptr _last_player_video; + boost::signals2::scoped_connection _server_found_connection; }; -- cgit v1.2.3