class Image;
}
+class ImageMagickContent;
+
class ImageMagickDecoder : public VideoDecoder
{
public:
- ImageMagickDecoder (boost::shared_ptr<Film>, boost::shared_ptr<const DecodeOptions>, Job *);
+ ImageMagickDecoder (boost::shared_ptr<const Film>, boost::shared_ptr<const ImageMagickContent>);
float frames_per_second () const {
/* We don't know */
libdcp::Size native_size () const;
- SourceFrame length () const {
+ ContentVideoFrame video_length () const {
/* We don't know */
return 0;
}
return 0;
}
- bool has_subtitles () const {
- return false;
- }
-
bool seek (double);
bool seek_to_last ();
+ bool pass ();
protected:
- bool pass ();
PixelFormat pixel_format () const;
int time_base_numerator () const {
private:
void film_changed (Film::Property);
-
- std::list<std::string> _files;
- std::list<std::string>::iterator _iter;
+
+ boost::shared_ptr<const ImageMagickContent> _imagemagick_content;
+ ContentVideoFrame _position;
};