projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump version
[dcpomatic.git]
/
src
/
lib
/
dcp_decoder.h
diff --git
a/src/lib/dcp_decoder.h
b/src/lib/dcp_decoder.h
index 84deab10143f741a7dd4029dc0ee94e6e1586801..6ec9de684d74da53abb204b578e91ee1f314c2c5 100644
(file)
--- a/
src/lib/dcp_decoder.h
+++ b/
src/lib/dcp_decoder.h
@@
-39,15
+39,16
@@
struct dcp_subtitle_within_dcp_test;
class DCPDecoder : public DCP, public Decoder
{
public:
class DCPDecoder : public DCP, public Decoder
{
public:
- DCPDecoder (boost::shared_ptr<const DCPContent>, boost::shared_ptr<Log> log);
+ DCPDecoder (boost::shared_ptr<const DCPContent>, boost::shared_ptr<Log> log
, bool fast
);
std::list<boost::shared_ptr<dcp::Reel> > reels () const {
return _reels;
}
void set_decode_referenced ();
std::list<boost::shared_ptr<dcp::Reel> > reels () const {
return _reels;
}
void set_decode_referenced ();
+ void set_forced_reduction (boost::optional<int> reduction);
-
void
pass ();
+
bool
pass ();
void seek (ContentTime t, bool accurate);
private:
void seek (ContentTime t, bool accurate);
private:
@@
-71,4
+72,5
@@
private:
boost::shared_ptr<dcp::SoundAssetReader> _sound_reader;
bool _decode_referenced;
boost::shared_ptr<dcp::SoundAssetReader> _sound_reader;
bool _decode_referenced;
+ boost::optional<int> _forced_reduction;
};
};