projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stop crashing when running the hints check on films with silent/black gaps.
[dcpomatic.git]
/
src
/
lib
/
image_decoder.h
diff --git
a/src/lib/image_decoder.h
b/src/lib/image_decoder.h
index 9b8cf73bbba6461a5da786d312338b35c25144de..eeec779ba8849129d7b73d2c68d9622e4bcafc42 100644
(file)
--- a/
src/lib/image_decoder.h
+++ b/
src/lib/image_decoder.h
@@
-27,17
+27,18
@@
class ImageProxy;
class ImageDecoder : public Decoder
{
public:
class ImageDecoder : public Decoder
{
public:
- ImageDecoder (boost::shared_ptr<const
ImageContent> c, boost::shared_ptr<Log> log
);
+ ImageDecoder (boost::shared_ptr<const
Film> film, boost::shared_ptr<const ImageContent> c
);
boost::shared_ptr<const ImageContent> content () {
return _image_content;
}
boost::shared_ptr<const ImageContent> content () {
return _image_content;
}
+ bool pass ();
+ void seek (dcpomatic::ContentTime, bool);
+
private:
private:
- bool pass (Decoder::PassReason, bool);
- void seek (ContentTime, bool);
boost::shared_ptr<const ImageContent> _image_content;
boost::shared_ptr<ImageProxy> _image;
boost::shared_ptr<const ImageContent> _image_content;
boost::shared_ptr<ImageProxy> _image;
- Frame _video_position;
+ Frame _
frame_
video_position;
};
};