From 39fb8198febde1937019db1c300ec363aab5aa56 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 29 Apr 2021 09:14:20 +0200 Subject: C++11 tidying. --- src/lib/image_decoder.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/lib/image_decoder.cc') 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 film, shared_ptr c) : Decoder (film) , _image_content (c) - , _frame_video_position (0) { video = make_shared(this, c); } + bool ImageDecoder::pass () { @@ -80,6 +83,7 @@ ImageDecoder::pass () return false; } + void ImageDecoder::seek (ContentTime time, bool accurate) { -- cgit v1.2.3