Add new version of check_dcp().
[dcpomatic.git] / test / test.cc
index 8f92024fc546cce119436aa1359f8cecbb6ed6a0..9be0d4711a3382af07508876864ecb6f0bdcc4e8 100644 (file)
@@ -297,6 +297,14 @@ note (dcp::NoteType t, string n)
        }
 }
 
+
+void
+check_dcp (boost::filesystem::path ref, shared_ptr<const Film> film)
+{
+       check_dcp (ref, film->dir(film->dcp_name()));
+}
+
+
 void
 check_dcp (boost::filesystem::path ref, boost::filesystem::path check)
 {