summaryrefslogtreecommitdiff
path: root/src/lib/encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-11-28 23:45:34 +0000
committerCarl Hetherington <cth@carlh.net>2017-04-19 23:04:32 +0100
commita78b741c43830c84bcb4d18e3147746f13a668e5 (patch)
tree170fdc1a80f397ccb6c2e9454a7a106448358dda /src/lib/encoder.h
parent3d90ce7a500a33b6147c30b65766efcbc447f5ab (diff)
Attempt to tidy up internal APIs slightly.
Diffstat (limited to 'src/lib/encoder.h')
-rw-r--r--src/lib/encoder.h3
1 files changed, 2 insertions, 1 deletions
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<PlayerVideo> f);
+ void encode (boost::shared_ptr<PlayerVideo> f, DCPTime time);
/** Called when a processing run has finished */
void end ();
@@ -107,6 +107,7 @@ private:
Waker _waker;
boost::shared_ptr<PlayerVideo> _last_player_video;
+ boost::optional<DCPTime> _last_player_video_time;
boost::signals2::scoped_connection _server_found_connection;
};