{
public:
DecoderPart (Decoder* parent, boost::shared_ptr<Log> log);
+ virtual ~DecoderPart () {}
- void set_ignore () {
- _ignore = true;
+ virtual ContentTime position () const = 0;
+ virtual void seek () = 0;
+
+ void set_ignore (bool i) {
+ _ignore = i;
}
bool ignore () const {
return _ignore;
}
- void set_position (ContentTime position) {
- _position = position;
- }
-
- boost::optional<ContentTime> position () const {
- return _position;
- }
-
- void maybe_seek (ContentTime time, bool accurate);
-
protected:
Decoder* _parent;
boost::shared_ptr<Log> _log;
private:
bool _ignore;
- boost::optional<ContentTime> _position;
};
#endif