Change MagickImageProxy to FFmpegImageProxy and make it use FFmpeg
[dcpomatic.git] / src / lib / decoder_part.cc
index 9ae9633e142499b30732672667afc0d1e9e49ec4..d8f988388a7bf5a7119ebafb25cde969d3d131bc 100644 (file)
 #include "decoder_part.h"
 #include "decoder.h"
 
-DecoderPart::DecoderPart (Decoder* parent)
+using boost::shared_ptr;
+
+DecoderPart::DecoderPart (Decoder* parent, shared_ptr<Log> log)
        : _parent (parent)
+       , _log (log)
        , _ignore (false)
 {
 
 }
-
-void
-DecoderPart::maybe_seek (ContentTime time, bool accurate)
-{
-       _parent->maybe_seek (_position, time, accurate);
-}