X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_decoder.h;h=9d81cdac18248087a9a4982c0c97fa59eedd3632;hb=6f344b876689a1234a5eb75041882f06f5d9fe5c;hp=242f69477826a499d915505cd0b9486808aba68d;hpb=8c7a308c03e4b4196b4e2379a26d432b100ae2b1;p=dcpomatic.git diff --git a/src/lib/image_decoder.h b/src/lib/image_decoder.h index 242f69477..9d81cdac1 100644 --- a/src/lib/image_decoder.h +++ b/src/lib/image_decoder.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2013 Carl Hetherington + Copyright (C) 2012-2016 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,28 +19,22 @@ #include "video_decoder.h" -namespace Magick { - class Image; -} - class ImageContent; class ImageDecoder : public VideoDecoder { public: - ImageDecoder (boost::shared_ptr c); + ImageDecoder (boost::shared_ptr c, boost::shared_ptr log); boost::shared_ptr content () { return _image_content; } +private: + bool pass (PassReason, bool); void seek (ContentTime, bool); -private: - bool pass (); - boost::shared_ptr _image_content; boost::shared_ptr _image; - VideoFrame _video_position; + Frame _video_position; }; -