Take ISDCF metadata from templates.
[dcpomatic.git] / src / lib / dcp_content.cc
index a6424874adb6978d488693c542fb4122d0206da6..ad489917d65c41e6a328ec6b0dd0f37b046085e9 100644 (file)
@@ -543,7 +543,9 @@ void
 DCPContent::take_settings_from (shared_ptr<const Content> c)
 {
        shared_ptr<const DCPContent> dc = dynamic_pointer_cast<const DCPContent> (c);
-       DCPOMATIC_ASSERT (dc);
+       if (!dc) {
+               return;
+       }
 
        _reference_video = dc->_reference_video;
        _reference_audio = dc->_reference_audio;