Supporters update.
[dcpomatic.git] / src / lib / dcp_decoder.cc
index 24ff507e687ba43f5918e3bb4986e9fc979dbbf8..727dcbf26d10ed540ac4231277316aaab4cfe923 100644 (file)
@@ -77,7 +77,7 @@ DCPDecoder::DCPDecoder (shared_ptr<const Film> film, shared_ptr<const DCPContent
                if (content->video) {
                        video = make_shared<VideoDecoder>(this, content);
                }
-               if (content->audio) {
+               if (content->has_mapped_audio()) {
                        audio = make_shared<AudioDecoder>(this, content->audio, fast);
                }
                for (auto i: content->text) {
@@ -105,7 +105,6 @@ DCPDecoder::DCPDecoder (shared_ptr<const Film> film, shared_ptr<const DCPContent
        if (old && old->lazy_digest() == _lazy_digest) {
                _reels = old->_reels;
        } else {
-
                auto cpl_list = dcp::find_and_resolve_cpls(content->directories(), tolerant);
 
                if (cpl_list.empty()) {