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.cc | |
| parent | b249700e1da7dd6631a8b4440587f4093a2bdef1 (diff) | |
C++11 tidying.
Diffstat (limited to 'src/lib/image_decoder.cc')
| -rw-r--r-- | src/lib/image_decoder.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/image_decoder.cc b/src/lib/image_decoder.cc index 2f7416c62..2e0a98092 100644 --- a/src/lib/image_decoder.cc +++ b/src/lib/image_decoder.cc @@ -18,6 +18,7 @@ */ + #include "image_content.h" #include "image_decoder.h" #include "video_decoder.h" @@ -33,20 +34,22 @@ #include "i18n.h" + using std::cout; using std::make_shared; using std::shared_ptr; using dcp::Size; using namespace dcpomatic; + ImageDecoder::ImageDecoder (shared_ptr<const Film> film, shared_ptr<const ImageContent> c) : Decoder (film) , _image_content (c) - , _frame_video_position (0) { video = make_shared<VideoDecoder>(this, c); } + bool ImageDecoder::pass () { @@ -80,6 +83,7 @@ ImageDecoder::pass () return false; } + void ImageDecoder::seek (ContentTime time, bool accurate) { |
