X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_decoder.h;h=067a247208f31b05f7c7cc4f1f6722b1deed09ba;hb=ccd69987ab861ea4521836fa2a5227e2dfac3479;hp=d575f9021f3e019add9753ac05c3e1b0c703222b;hpb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;p=dcpomatic.git diff --git a/src/lib/image_decoder.h b/src/lib/image_decoder.h index d575f9021..067a24720 100644 --- a/src/lib/image_decoder.h +++ b/src/lib/image_decoder.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2016 Carl Hetherington + Copyright (C) 2012-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,12 +18,15 @@ */ + #include "decoder.h" + class ImageContent; class Log; class ImageProxy; + class ImageDecoder : public Decoder { public: @@ -33,12 +36,12 @@ public: return _image_content; } - bool pass (); - void seek (dcpomatic::ContentTime, bool); + bool pass () override; + void seek (dcpomatic::ContentTime, bool) override; private: std::shared_ptr _image_content; std::shared_ptr _image; - Frame _frame_video_position; + Frame _frame_video_position = 0; };