projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some new Waker calls.
[dcpomatic.git]
/
src
/
lib
/
decoder_part.h
diff --git
a/src/lib/decoder_part.h
b/src/lib/decoder_part.h
index 39f77e6e6cbabedffc1e6bd538135a1db7c73019..53d1a1b0827349fecc2b37dece5498be3786b837 100644
(file)
--- a/
src/lib/decoder_part.h
+++ b/
src/lib/decoder_part.h
@@
-26,17
+26,19
@@
class Decoder;
class Log;
class Decoder;
class Log;
+class Film;
class DecoderPart
{
public:
class DecoderPart
{
public:
- DecoderPart (Decoder* parent
, boost::shared_ptr<Log> log
);
+ DecoderPart (Decoder* parent);
virtual ~DecoderPart () {}
virtual ~DecoderPart () {}
- virtual boost::optional<ContentTime> position () const = 0;
+ virtual dcpomatic::ContentTime position (boost::shared_ptr<const Film> film) const = 0;
+ virtual void seek () = 0;
- void set_ignore () {
- _ignore =
true
;
+ void set_ignore (
bool i
) {
+ _ignore =
i
;
}
bool ignore () const {
}
bool ignore () const {
@@
-45,7
+47,6
@@
public:
protected:
Decoder* _parent;
protected:
Decoder* _parent;
- boost::shared_ptr<Log> _log;
private:
bool _ignore;
private:
bool _ignore;