Make terminate_threads() less likely to leave _threads containing invalid pointers.
[dcpomatic.git] / src / lib / decoder_part.cc
index 9ae9633e142499b30732672667afc0d1e9e49ec4..3e06204defb5a0e40e92ef8ea1da3ae725aeb912 100644 (file)
 #include "decoder_part.h"
 #include "decoder.h"
 
+using boost::shared_ptr;
+
 DecoderPart::DecoderPart (Decoder* parent)
        : _parent (parent)
        , _ignore (false)
 {
 
 }
-
-void
-DecoderPart::maybe_seek (ContentTime time, bool accurate)
-{
-       _parent->maybe_seek (_position, time, accurate);
-}