summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-10 02:39:34 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-10 02:39:34 +0100
commit14f5424e2bd0f933965901f18b5b1673993e0045 (patch)
treec842c467325ed542c343257265671a964e49dfa1 /src/lib/ffmpeg_encoder.h
parent895f945a6bababdf1964b0522d591db96368db22 (diff)
Basics of export of multiple reels to multiple files.
Diffstat (limited to 'src/lib/ffmpeg_encoder.h')
-rw-r--r--src/lib/ffmpeg_encoder.h12
1 files changed, 10 insertions, 2 deletions
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<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;