Make Atmos content work more like other content. Now its MXFs
[dcpomatic.git] / src / lib / dcp_content.cc
index ca210b5587ce45cbdd4eee40037649843246f41a..d2c1df748ddc5d3dbf529a0f3ea4f7147f4d42a1 100644 (file)
@@ -18,6 +18,7 @@
 
 */
 
+#include "atmos_content.h"
 #include "dcp_content.h"
 #include "video_content.h"
 #include "audio_content.h"
@@ -233,6 +234,11 @@ DCPContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job)
                as->set_mapping (m);
        }
 
+       if (examiner->has_atmos()) {
+               boost::mutex::scoped_lock lm (_mutex);
+               atmos.reset (new AtmosContent(this));
+       }
+
        int texts = 0;
        {
                boost::mutex::scoped_lock lm (_mutex);