Cope with e.g. truehd audio streams having not every audio frame arriving with a...
[dcpomatic.git] / src / lib / decoder_part.h
index f2ab96d1573d7a758f93436ddfcb0f8d8b9a0e77..a9568be8a6586a84b8d596c3f46795f2e89b0de5 100644 (file)
@@ -33,6 +33,8 @@ public:
        DecoderPart (Decoder* parent, boost::shared_ptr<Log> log);
        virtual ~DecoderPart () {}
 
+       virtual ContentTime position () const = 0;
+
        void set_ignore () {
                _ignore = true;
        }
@@ -41,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;