X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_decoder.h;h=242f69477826a499d915505cd0b9486808aba68d;hb=39bc73fe192f932ed6695eb87b19de446e8b4f55;hp=346fffdf78d5a14d977ae9b3c41afd0c3b30762c;hpb=097a1fb413bbbb89182161d4c1a31daa5419ec96;p=dcpomatic.git diff --git a/src/lib/image_decoder.h b/src/lib/image_decoder.h index 346fffdf7..242f69477 100644 --- a/src/lib/image_decoder.h +++ b/src/lib/image_decoder.h @@ -28,20 +28,19 @@ class ImageContent; class ImageDecoder : public VideoDecoder { public: - ImageDecoder (boost::shared_ptr, boost::shared_ptr); + ImageDecoder (boost::shared_ptr c); boost::shared_ptr content () { return _image_content; } - /* Decoder */ - - void pass (); - void seek (DCPTime, bool); - bool done () const; + void seek (ContentTime, bool); private: + bool pass (); + boost::shared_ptr _image_content; - boost::shared_ptr _image; + boost::shared_ptr _image; + VideoFrame _video_position; };