X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdecoder_part.cc;h=bcddcb785dde11b1c81e1cb5bc2d67b251b82520;hb=ea554f39cec595666a3d4552235ccca4e60305a5;hp=6d53e4a77c78030ba7d985fadfd192da4c16fade;hpb=936ff6927ad24daf0ed20776b19b6faa3df9bf83;p=dcpomatic.git diff --git a/src/lib/decoder_part.cc b/src/lib/decoder_part.cc index 6d53e4a77..bcddcb785 100644 --- a/src/lib/decoder_part.cc +++ b/src/lib/decoder_part.cc @@ -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,21 +18,14 @@ */ + #include "decoder_part.h" #include "decoder.h" -using boost::shared_ptr; -DecoderPart::DecoderPart (Decoder* parent, shared_ptr log) +DecoderPart::DecoderPart (Decoder* parent) : _parent (parent) - , _log (log) , _ignore (false) { } - -void -DecoderPart::maybe_seek (ContentTime time, bool accurate) -{ - _parent->maybe_seek (position(), time, accurate); -}