From a332bd6be323f03dad5b180fb237afe54f1bf81e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 23 Nov 2020 13:58:33 +0100 Subject: Remove swaroop variant. --- src/lib/ffmpeg_encoder.cc | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) (limited to 'src/lib/ffmpeg_encoder.cc') diff --git a/src/lib/ffmpeg_encoder.cc b/src/lib/ffmpeg_encoder.cc index 2c76a38c3..1d8feffa8 100644 --- a/src/lib/ffmpeg_encoder.cc +++ b/src/lib/ffmpeg_encoder.cc @@ -57,10 +57,6 @@ FFmpegEncoder::FFmpegEncoder ( bool split_reels, bool audio_stream_per_channel, int x264_crf -#ifdef DCPOMATIC_VARIANT_SWAROOP - , optional key - , optional id -#endif ) : Encoder (film, job) , _history (200) @@ -154,10 +150,6 @@ FFmpegEncoder::go () _film->three_d(), filename, extension -#ifdef DCPOMATIC_VARIANT_SWAROOP - , key - , id -#endif ) ); } @@ -249,10 +241,6 @@ FFmpegEncoder::FileEncoderSet::FileEncoderSet ( bool three_d, boost::filesystem::path output, string extension -#ifdef DCPOMATIC_VARIANT_SWAROOP - , optional key - , optional id -#endif ) { if (three_d) { @@ -260,31 +248,19 @@ FFmpegEncoder::FileEncoderSet::FileEncoderSet ( _encoders[EYES_LEFT] = shared_ptr( new FFmpegFileEncoder( video_frame_size, video_frame_rate, audio_frame_rate, channels, format, - audio_stream_per_channel, x264_crf, String::compose("%1_%2%3", output.string(), _("L"), extension) -#ifdef DCPOMATIC_VARIANT_SWAROOP - , key, id -#endif - ) + audio_stream_per_channel, x264_crf, String::compose("%1_%2%3", output.string(), _("L"), extension)) ); /// TRANSLATORS: R here is an abbreviation for "right", to indicate the right-eye part of a 3D export _encoders[EYES_RIGHT] = shared_ptr( new FFmpegFileEncoder( video_frame_size, video_frame_rate, audio_frame_rate, channels, format, - audio_stream_per_channel, x264_crf, String::compose("%1_%2%3", output.string(), _("R"), extension) -#ifdef DCPOMATIC_VARIANT_SWAROOP - , key, id -#endif - ) + audio_stream_per_channel, x264_crf, String::compose("%1_%2%3", output.string(), _("R"), extension)) ); } else { _encoders[EYES_BOTH] = shared_ptr( new FFmpegFileEncoder( video_frame_size, video_frame_rate, audio_frame_rate, channels, format, - audio_stream_per_channel, x264_crf, String::compose("%1%2", output.string(), extension) -#ifdef DCPOMATIC_VARIANT_SWAROOP - , key, id -#endif - ) + audio_stream_per_channel, x264_crf, String::compose("%1%2", output.string(), extension)) ); } } -- cgit v1.2.3