Supporters update.
[dcpomatic.git] / test / video_mxf_content_test.cc
index 5edb858820b1dbbae3dd58a1dd9b992a6535899d..f3766e4afcbe6e731023ee5c669c6a23726b775c 100644 (file)
@@ -32,6 +32,7 @@
 #include "lib/ratio.h"
 #include "lib/video_mxf_content.h"
 #include "test.h"
+#include <dcp/equality_options.h>
 #include <dcp/mono_picture_asset.h>
 #include <boost/test/unit_test.hpp>
 
@@ -40,9 +41,6 @@ using std::dynamic_pointer_cast;
 using std::make_shared;
 
 
-static boost::filesystem::path ref_mxf = "test/data/scaling_test_185_185/j2c_6a2ffab1-9ea5-4428-9027-9d458363c95f.mxf";
-
-
 static void note (dcp::NoteType, std::string)
 {
 
@@ -57,6 +55,8 @@ BOOST_AUTO_TEST_CASE (video_mxf_content_test)
        film->set_container (Ratio::from_id ("185"));
        film->set_name ("video_mxf_content_test");
 
+       auto const ref_mxf = find_file("test/data/scaling_test_185_185", "j2c");
+
        auto content = content_factory(ref_mxf)[0];
        auto check = dynamic_pointer_cast<VideoMXFContent> (content);
        BOOST_REQUIRE (check);