diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-29 09:14:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-29 20:53:49 +0200 |
| commit | 39fb8198febde1937019db1c300ec363aab5aa56 (patch) | |
| tree | 52bc32134e8ae2b5587b3a62130baa9acf815b60 /src/lib/image_decoder.h | |
| parent | b249700e1da7dd6631a8b4440587f4093a2bdef1 (diff) | |
C++11 tidying.
Diffstat (limited to 'src/lib/image_decoder.h')
| -rw-r--r-- | src/lib/image_decoder.h | 11 |
1 files changed, 7 insertions, 4 deletions
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 <cth@carlh.net> + Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net> 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<const ImageContent> _image_content; std::shared_ptr<ImageProxy> _image; - Frame _frame_video_position; + Frame _frame_video_position = 0; }; |
