diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-05-14 00:45:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-14 00:45:12 +0100 |
| commit | 125ef6e49a0a20ab6ee7c95f80c710ec9efc3c00 (patch) | |
| tree | 795431bfac34582df6deb7e66bb55457d3c638ee /src/lib/ffmpeg.cc | |
| parent | 61e5cbfc5e2f376c544b246e40c5990bc090033f (diff) | |
Non-swaroop build fixes.v2.15.4
Diffstat (limited to 'src/lib/ffmpeg.cc')
| -rw-r--r-- | src/lib/ffmpeg.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc index d6a592f88..17ec564d3 100644 --- a/src/lib/ffmpeg.cc +++ b/src/lib/ffmpeg.cc @@ -125,10 +125,12 @@ FFmpeg::setup_general () */ av_dict_set (&options, "analyzeduration", raw_convert<string> (5 * 60 * 1000000).c_str(), 0); av_dict_set (&options, "probesize", raw_convert<string> (5 * 60 * 1000000).c_str(), 0); +#ifdef DCPOMATIC_VARIANT_SWAROOP if (_ffmpeg_content->kdm()) { DecryptedECinemaKDM kdm (_ffmpeg_content->kdm().get(), Config::instance()->decryption_chain()->key().get()); av_dict_set (&options, "decryption_key", kdm.key().hex().c_str(), 0); } +#endif int e = avformat_open_input (&_format_context, 0, 0, &options); if (e < 0) { |
