swaroop: Disable play/stop/pause and slider during ad content.
[dcpomatic.git] / src / lib / ffmpeg_encoder.h
index 98c4704e2e5abd80bede1cc894d38788534b6ad7..9af284e6eedf078d6ef5d05d86b5fb8793af11aa 100644 (file)
@@ -31,7 +31,15 @@ class Butler;
 class FFmpegEncoder : public Encoder
 {
 public:
-       FFmpegEncoder (boost::shared_ptr<const Film> film, boost::weak_ptr<Job> job, boost::filesystem::path output, ExportFormat format, bool mixdown_to_stereo, int x264_crf);
+       FFmpegEncoder (
+               boost::shared_ptr<const Film> film,
+               boost::weak_ptr<Job> job,
+               boost::filesystem::path output,
+               ExportFormat format,
+               bool mixdown_to_stereo,
+               bool split_reels,
+               int x264_crf
+               );
 
        void go ();
 
@@ -42,7 +50,7 @@ public:
        }
 
 private:
-       FFmpegFileEncoder _file_encoder;
+       std::list<boost::shared_ptr<FFmpegFileEncoder> > _file_encoders;
        int _output_audio_channels;
 
        mutable boost::mutex _mutex;