From 3458d0ec34f08a8eeef9b158f26a476a18548353 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 7 Jun 2017 20:50:26 +0100 Subject: Basic and untested export option to bounce down to stereo; add encoder test with subs (which fails). --- src/lib/ffmpeg_encoder.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/ffmpeg_encoder.h') 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 #include @@ -37,7 +38,7 @@ public: FORMAT_H264 }; - FFmpegEncoder (boost::shared_ptr film, boost::weak_ptr job, boost::filesystem::path output, Format format); + FFmpegEncoder (boost::shared_ptr film, boost::weak_ptr 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; -- cgit v1.2.3