Various fixes to push audio vaguely in the right direction.
[dcpomatic.git] / src / lib / decoder_part.h
index ed92d43b4258abf95fa03a2049e7b137c69cfe29..a9568be8a6586a84b8d596c3f46795f2e89b0de5 100644 (file)
@@ -31,6 +31,9 @@ class DecoderPart
 {
 public:
        DecoderPart (Decoder* parent, boost::shared_ptr<Log> log);
+       virtual ~DecoderPart () {}
+
+       virtual ContentTime position () const = 0;
 
        void set_ignore () {
                _ignore = true;
@@ -40,10 +43,6 @@ public:
                return _ignore;
        }
 
-       virtual boost::optional<ContentTime> position () const = 0;
-
-       void maybe_seek (ContentTime time, bool accurate);
-
 protected:
        Decoder* _parent;
        boost::shared_ptr<Log> _log;