projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add DCPContent::from_libdcp_kind.
[dcpomatic.git]
/
src
/
lib
/
decoder_part.h
diff --git
a/src/lib/decoder_part.h
b/src/lib/decoder_part.h
index 00099fb33379f6f566c36a71254141fa7ecfd211..c8e13445a96c42761e3a3fb1f5f65b6c0de3738b 100644
(file)
--- a/
src/lib/decoder_part.h
+++ b/
src/lib/decoder_part.h
@@
-26,28
+26,27
@@
class Decoder;
class Log;
class Decoder;
class Log;
+class Film;
class DecoderPart
{
public:
class DecoderPart
{
public:
- DecoderPart (Decoder* parent
, boost::shared_ptr<Log> log
);
- virtual DecoderPart () {}
+ DecoderPart (Decoder* parent);
+ virtual
~
DecoderPart () {}
- void set_ignore () {
- _ignore = true;
+ virtual boost::optional<dcpomatic::ContentTime> position (boost::shared_ptr<const Film> film) const = 0;
+ virtual void seek () = 0;
+
+ void set_ignore (bool i) {
+ _ignore = i;
}
bool ignore () const {
return _ignore;
}
}
bool ignore () const {
return _ignore;
}
- virtual boost::optional<ContentTime> position () const = 0;
-
- void maybe_seek (ContentTime time, bool accurate);
-
protected:
Decoder* _parent;
protected:
Decoder* _parent;
- boost::shared_ptr<Log> _log;
private:
bool _ignore;
private:
bool _ignore;