Rename Subtitle -> Text
[dcpomatic.git] / test / vf_kdm_test.cc
index 981ed43d42d8137b8a8616d1e41bc669b8415fd7..1ed5ac81061d1167d2269eb83d56dd5fa5084e10 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "test.h"
 #include "lib/film.h"
-#include "lib/dcp_subtitle_content.h"
+#include "lib/dcp_text_content.h"
 #include "lib/ratio.h"
 #include "lib/dcp_content_type.h"
 #include "lib/dcp_content.h"
@@ -66,7 +66,8 @@ BOOST_AUTO_TEST_CASE (vf_kdm_test)
                A_dcp.cpls().front()->file().get(),
                dcp::LocalTime ("2014-07-21T00:00:00+00:00"),
                dcp::LocalTime ("2024-07-21T00:00:00+00:00"),
-               dcp::MODIFIED_TRANSITIONAL_1
+               dcp::MODIFIED_TRANSITIONAL_1,
+               true, 0
                );
 
        /* Import A into a new project, with the required KDM, and make a VF that refers to it */
@@ -95,7 +96,8 @@ BOOST_AUTO_TEST_CASE (vf_kdm_test)
                B_dcp.cpls().front()->file().get(),
                dcp::LocalTime ("2014-07-21T00:00:00+00:00"),
                dcp::LocalTime ("2024-07-21T00:00:00+00:00"),
-               dcp::MODIFIED_TRANSITIONAL_1
+               dcp::MODIFIED_TRANSITIONAL_1,
+               true, 0
                );
 
        /* Import the OV and VF into a new project with the KDM that was created for the VF.