*/
-#include "decoder.h"
+#include "video_decoder.h"
namespace Magick {
class Image;
}
-class ImageMagickDecoder : public Decoder
+class ImageMagickDecoder : public VideoDecoder
{
public:
- ImageMagickDecoder (boost::shared_ptr<const FilmState>, boost::shared_ptr<const Options>, Job *, Log *, bool, bool);
+ ImageMagickDecoder (boost::shared_ptr<Film>, boost::shared_ptr<const Options>, Job *);
float frames_per_second () const {
- return static_frames_per_second ();
+ /* We don't know */
+ return 0;
}
Size native_size () const;
return 0;
}
- AVSampleFormat audio_sample_format () const {
- return AV_SAMPLE_FMT_NONE;
- }
-
int64_t audio_channel_layout () const {
return 0;
}
return false;
}
- static float static_frames_per_second () {
- return 24;
- }
-
protected:
- bool do_pass ();
+ bool pass ();
PixelFormat pixel_format () const;
int time_base_numerator () const {
}
private:
- Magick::Image* _magick_image;
- bool _done;
+ std::list<std::string> _files;
+ std::list<std::string>::iterator _iter;
};