From: Carl Hetherington Date: Tue, 6 Feb 2018 01:57:28 +0000 (+0000) Subject: Ignore video/audio when it is referenced; should help with #1191. X-Git-Tag: v2.11.49~1 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=70a7bb2bd72f90642e01ed660f7d7de495ea0370 Ignore video/audio when it is referenced; should help with #1191. --- diff --git a/src/lib/dcp_decoder.cc b/src/lib/dcp_decoder.cc index 68aa214ab..3379f8e90 100644 --- a/src/lib/dcp_decoder.cc +++ b/src/lib/dcp_decoder.cc @@ -77,6 +77,15 @@ DCPDecoder::DCPDecoder (shared_ptr c, shared_ptr log, boo cpl = cpls().front (); } + if (!_decode_referenced) { + if (c->reference_video()) { + video->set_ignore(); + } + if (c->reference_audio()) { + audio->set_ignore(); + } + } + _reels = cpl->reels (); _reel = _reels.begin ();