Adapt for changes to libdcp.
[dcpomatic.git] / test / recover_test.cc
index ae1009ea7bfc6d28b3af3e6030f10ecfba92be37..cb5c26858192fa09b45b419b02f76e061c371cfe 100644 (file)
@@ -36,7 +36,7 @@ using boost::shared_ptr;
 static void
 note (dcp::NoteType t, string n)
 {
-       if (t == dcp::ERROR) {
+       if (t == dcp::DCP_ERROR) {
                cout << n << "\n";
        }
 }
@@ -51,13 +51,13 @@ BOOST_AUTO_TEST_CASE (recover_test)
 
        shared_ptr<ImageContent> content (new ImageContent (film, "test/data/3d_test"));
        content->set_video_frame_type (VIDEO_FRAME_TYPE_3D_LEFT_RIGHT);
-       film->examine_and_add_content (content);
+       film->examine_and_add_content (content, true);
        wait_for_jobs ();
 
        film->make_dcp ();
        wait_for_jobs ();
 
-       boost::filesystem::path const video = "build/test/recover_test/video/185_2K_3651eded785682b85f4baca4b1d3b7a9_24_bicubic_200000000_P_S_3D.mxf";
+       boost::filesystem::path const video = "build/test/recover_test/video/185_2K_1918f67fe87ecfc4e8c09fe1c2dcefcc_24_bicubic_100000000_P_S_3D.mxf";
 
        boost::filesystem::copy_file (
                video,