diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-17 13:16:48 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-08-17 13:17:28 +0200 |
| commit | dfac61382f1719f0a879747de43cbc5f9115c2d7 (patch) | |
| tree | e93793ac4d74f060050492905d97ea6156b5883c /src/lib/ffmpeg_encoder.h | |
| parent | bd23f55d8cd73adda823d0a2fcabc129b8845a81 (diff) | |
Tidy up resource management of FFmpegFileEncoders so that theybetter-butler-errors
are cleaned up correctly when an error occurs.
Diffstat (limited to 'src/lib/ffmpeg_encoder.h')
| -rw-r--r-- | src/lib/ffmpeg_encoder.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_encoder.h b/src/lib/ffmpeg_encoder.h index 79539acce..542711cc9 100644 --- a/src/lib/ffmpeg_encoder.h +++ b/src/lib/ffmpeg_encoder.h @@ -74,13 +74,16 @@ private: std::map<Eyes, boost::shared_ptr<FFmpegFileEncoder> > _encoders; }; - std::list<FileEncoderSet> _file_encoders; int _output_audio_channels; mutable boost::mutex _mutex; DCPTime _last_time; EventHistory _history; + boost::filesystem::path _output; + ExportFormat _format; + bool _split_reels; + int _x264_crf; boost::shared_ptr<Butler> _butler; }; |
