Try to allow users to specify that the film's header should be trusted wrt length...
[dcpomatic.git] / src / lib / imagemagick_encoder.h
index 06f1723b196351fbb84e448e3fba2b06c27f3a69..dfc741cb2730654e5b4a42e92673217776ffaa3d 100644 (file)
@@ -34,10 +34,9 @@ class Log;
 class ImageMagickEncoder : public Encoder
 {
 public:
-       ImageMagickEncoder (boost::shared_ptr<const FilmState> s, boost::shared_ptr<const Options> o, Log* l);
+       ImageMagickEncoder (boost::shared_ptr<const Film> f, boost::shared_ptr<const Options> o);
 
-       void process_begin (int64_t audio_channel_layout, AVSampleFormat audio_sample_format) {}
-       void process_video (boost::shared_ptr<Image>, int, boost::shared_ptr<Subtitle>);
-       void process_audio (boost::shared_ptr<const AudioBuffers>) {}
-       void process_end () {}
+private:       
+       void do_process_video (boost::shared_ptr<Image>, boost::shared_ptr<Subtitle>);
+       void do_process_audio (boost::shared_ptr<AudioBuffers>) {}
 };