summaryrefslogtreecommitdiff
path: root/src/lib/image_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/image_decoder.h')
-rw-r--r--src/lib/image_decoder.h11
1 files changed, 5 insertions, 6 deletions
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<const Film>, boost::shared_ptr<const ImageContent>);
+ ImageDecoder (boost::shared_ptr<const ImageContent> c);
boost::shared_ptr<const ImageContent> 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<const ImageContent> _image_content;
boost::shared_ptr<ImageProxy> _image;
+ VideoFrame _video_position;
};