diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-06-07 20:50:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-06-07 20:50:26 +0100 |
| commit | 3458d0ec34f08a8eeef9b158f26a476a18548353 (patch) | |
| tree | 7f0f13eddb5463feb7de9c46d6797f0f56d1e594 /src/lib/ffmpeg_encoder.h | |
| parent | 563ffc8c14b9db24c828c85c6590d0ece9ed19bc (diff) | |
Basic and untested export option to bounce down to stereo; add encoder test with subs (which fails).
Diffstat (limited to 'src/lib/ffmpeg_encoder.h')
| -rw-r--r-- | src/lib/ffmpeg_encoder.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_encoder.h b/src/lib/ffmpeg_encoder.h index c7929c54f..5ab59c12d 100644 --- a/src/lib/ffmpeg_encoder.h +++ b/src/lib/ffmpeg_encoder.h @@ -23,6 +23,7 @@ #include "encoder.h" #include "event_history.h" +#include "audio_mapping.h" extern "C" { #include <libavcodec/avcodec.h> #include <libavformat/avformat.h> @@ -37,7 +38,7 @@ public: FORMAT_H264 }; - FFmpegEncoder (boost::shared_ptr<const Film> film, boost::weak_ptr<Job> job, boost::filesystem::path output, Format format); + FFmpegEncoder (boost::shared_ptr<const Film> film, boost::weak_ptr<Job> job, boost::filesystem::path output, Format format, bool mixdown_to_stereo); void go (); @@ -69,6 +70,7 @@ private: AVDictionary* _video_options; std::string _video_codec_name; std::string _audio_codec_name; + AudioMapping _audio_mapping; mutable boost::mutex _mutex; DCPTime _last_time; |
