From 14f5424e2bd0f933965901f18b5b1673993e0045 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 10 Sep 2018 02:39:34 +0100 Subject: Basics of export of multiple reels to multiple files. --- src/lib/ffmpeg_encoder.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/lib/ffmpeg_encoder.h') diff --git a/src/lib/ffmpeg_encoder.h b/src/lib/ffmpeg_encoder.h index 98c4704e2..9af284e6e 100644 --- a/src/lib/ffmpeg_encoder.h +++ b/src/lib/ffmpeg_encoder.h @@ -31,7 +31,15 @@ class Butler; class FFmpegEncoder : public Encoder { public: - FFmpegEncoder (boost::shared_ptr film, boost::weak_ptr job, boost::filesystem::path output, ExportFormat format, bool mixdown_to_stereo, int x264_crf); + FFmpegEncoder ( + boost::shared_ptr film, + boost::weak_ptr 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 > _file_encoders; int _output_audio_channels; mutable boost::mutex _mutex; -- cgit v1.2.3