projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wake UI with a wxEVT_IDLE which is the event that SignalManager::ui_idle is tied to.
[dcpomatic.git]
/
src
/
lib
/
decoder.h
diff --git
a/src/lib/decoder.h
b/src/lib/decoder.h
index 0703a542686933e3065f3b3cd5a343498ef0cebd..9867b79b099a12466790c637ce78011a6867a830 100644
(file)
--- a/
src/lib/decoder.h
+++ b/
src/lib/decoder.h
@@
-26,8
+26,6
@@
#include "types.h"
#include "dcpomatic_time.h"
#include "types.h"
#include "dcpomatic_time.h"
-#include <boost/shared_ptr.hpp>
-#include <boost/weak_ptr.hpp>
#include <boost/utility.hpp>
class Decoded;
#include <boost/utility.hpp>
class Decoded;
@@
-40,7
+38,8
@@
class Decoder : public boost::noncopyable
public:
virtual ~Decoder () {}
public:
virtual ~Decoder () {}
-protected:
+protected:
+ friend class AudioDecoderStream;
/** Seek so that the next pass() will yield the next thing
* (video/sound frame, subtitle etc.) at or after the requested
/** Seek so that the next pass() will yield the next thing
* (video/sound frame, subtitle etc.) at or after the requested
@@
-57,8
+56,8
@@
protected:
PASS_REASON_AUDIO,
PASS_REASON_SUBTITLE
};
PASS_REASON_AUDIO,
PASS_REASON_SUBTITLE
};
-
- virtual bool pass (PassReason
reason
) = 0;
+
+ virtual bool pass (PassReason
, bool accurate
) = 0;
};
#endif
};
#endif