diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-01 15:05:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-01 15:05:13 +0100 |
| commit | 6f071ce94bb7cff1106e2ef6d8eb4363694435f2 (patch) | |
| tree | 65fa1844ae470bc9011733ecff4f016ba5a4671e /src/lib/player_video.h | |
| parent | 15f23b356b757a9697bf1a9ec30c243ab8070404 (diff) | |
Remove FFmpegDecoder minimal_run and care on seeking, as the VideoDecoder/AudioDecoder has to cope with stuff per-stream anyway.
Diffstat (limited to 'src/lib/player_video.h')
| -rw-r--r-- | src/lib/player_video.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/player_video.h b/src/lib/player_video.h index 73557bbfd..7d2787783 100644 --- a/src/lib/player_video.h +++ b/src/lib/player_video.h @@ -36,7 +36,7 @@ class Log; class PlayerVideo { public: - PlayerVideo (boost::shared_ptr<const ImageProxy>, Crop, dcp::Size, dcp::Size, Scaler const *, Eyes, Part, ColourConversion); + PlayerVideo (boost::shared_ptr<const ImageProxy>, DCPTime, Crop, dcp::Size, dcp::Size, Scaler const *, Eyes, Part, ColourConversion); PlayerVideo (boost::shared_ptr<cxml::Node>, boost::shared_ptr<Socket>, boost::shared_ptr<Log>); void set_subtitle (PositionImage); @@ -46,6 +46,10 @@ public: void add_metadata (xmlpp::Node* node) const; void send_binary (boost::shared_ptr<Socket> socket) const; + DCPTime time () const { + return _time; + } + Eyes eyes () const { return _eyes; } @@ -56,6 +60,7 @@ public: private: boost::shared_ptr<const ImageProxy> _in; + DCPTime _time; Crop _crop; dcp::Size _inter_size; dcp::Size _out_size; |
