X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_decoder.h;h=242f69477826a499d915505cd0b9486808aba68d;hb=39bc73fe192f932ed6695eb87b19de446e8b4f55;hp=5b82dd85c161eedd07ccfb0c09cdc90c6dc96708;hpb=9e758fddfb8bbadb1fc84e393daa815445d5e9d5;p=dcpomatic.git diff --git a/src/lib/image_decoder.h b/src/lib/image_decoder.h index 5b82dd85c..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 (VideoContent::Frame, bool); - bool done () const; + void seek (ContentTime, bool); private: + bool pass (); + boost::shared_ptr _image_content; boost::shared_ptr _image; + VideoFrame _video_position; };