public:
ImageMagickDecoder (boost::shared_ptr<const Film>, boost::shared_ptr<const ImageMagickContent>);
- float frames_per_second () const {
+ float video_frame_rate () const {
return 24;
}
libdcp::Size native_size () const;
ContentVideoFrame video_length () const;
- int audio_channels () const {
- return 0;
- }
-
- int audio_sample_rate () const {
- return 0;
- }
-
- int64_t audio_channel_layout () const {
- return 0;
- }
-
bool seek (double);
- bool seek_to_last ();
bool pass ();
+ boost::shared_ptr<const ImageMagickContent> content () const {
+ return _imagemagick_content;
+ }
+
protected:
PixelFormat pixel_format () const;
private:
boost::shared_ptr<const ImageMagickContent> _imagemagick_content;
+ boost::shared_ptr<Image> _image;
ContentVideoFrame _position;
+ mutable boost::optional<libdcp::Size> _native_size;
};