From a78b741c43830c84bcb4d18e3147746f13a668e5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 28 Nov 2016 23:45:34 +0000 Subject: Attempt to tidy up internal APIs slightly. --- src/lib/encoder.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/encoder.h') diff --git a/src/lib/encoder.h b/src/lib/encoder.h index 5816fe12f..27ae64aac 100644 --- a/src/lib/encoder.h +++ b/src/lib/encoder.h @@ -62,7 +62,7 @@ public: void begin (); /** Called to pass a bit of video to be encoded as the next DCP frame */ - void encode (boost::shared_ptr f); + void encode (boost::shared_ptr f, DCPTime time); /** Called when a processing run has finished */ void end (); @@ -107,6 +107,7 @@ private: Waker _waker; boost::shared_ptr _last_player_video; + boost::optional _last_player_video_time; boost::signals2::scoped_connection _server_found_connection; }; -- cgit v1.2.3