X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fencoder.h;h=27ae64aac589ba577578fb874fcafdffe8557b40;hp=5816fe12f64c88c69d0c19ef47ece2b2744fe8e5;hb=a78b741c43830c84bcb4d18e3147746f13a668e5;hpb=3d90ce7a500a33b6147c30b65766efcbc447f5ab 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; };