projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try larger menu bar icon on OS X.
[dcpomatic.git]
/
src
/
lib
/
decoder_part.h
diff --git
a/src/lib/decoder_part.h
b/src/lib/decoder_part.h
index 00099fb33379f6f566c36a71254141fa7ecfd211..a9568be8a6586a84b8d596c3f46795f2e89b0de5 100644
(file)
--- a/
src/lib/decoder_part.h
+++ b/
src/lib/decoder_part.h
@@
-31,7
+31,9
@@
class DecoderPart
{
public:
DecoderPart (Decoder* parent, boost::shared_ptr<Log> log);
{
public:
DecoderPart (Decoder* parent, boost::shared_ptr<Log> log);
- virtual DecoderPart () {}
+ virtual ~DecoderPart () {}
+
+ virtual ContentTime position () const = 0;
void set_ignore () {
_ignore = true;
void set_ignore () {
_ignore = true;
@@
-41,10
+43,6
@@
public:
return _ignore;
}
return _ignore;
}
- virtual boost::optional<ContentTime> position () const = 0;
-
- void maybe_seek (ContentTime time, bool accurate);
-
protected:
Decoder* _parent;
boost::shared_ptr<Log> _log;
protected:
Decoder* _parent;
boost::shared_ptr<Log> _log;