X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdecoder_part.cc;h=bcddcb785dde11b1c81e1cb5bc2d67b251b82520;hp=f210bd7aeb0a48a9bbc44d1ebe6d0bea6a418d29;hb=2d4e8c5f69cc694625ad95dcee554499605f823b;hpb=878e19aabf2278828a3c9b518e0804b2cef0c01e diff --git a/src/lib/decoder_part.cc b/src/lib/decoder_part.cc index f210bd7ae..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); -}