Better information when check_audio_file fails.
[dcpomatic.git] / test / ffmpeg_dcp_test.cc
index 797af8736989015e19528b5e8dc9f2de303ed7d4..c32220f99c882340e1f2401e9a04ba1805800a9d 100644 (file)
@@ -30,6 +30,7 @@
 #include "lib/ffmpeg_content.h"
 #include "lib/ratio.h"
 #include "lib/dcp_content_type.h"
+#include "lib/video_content.h"
 #include "test.h"
 
 using boost::shared_ptr;
@@ -42,9 +43,9 @@ BOOST_AUTO_TEST_CASE (ffmpeg_dcp_test)
        film->examine_and_add_content (c);
 
        wait_for_jobs ();
-       
-       c->set_scale (VideoContentScale (Ratio::from_id ("185")));
-       
+
+       c->video->set_scale (VideoContentScale (Ratio::from_id ("185")));
+
        film->set_container (Ratio::from_id ("185"));
        film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
        film->make_dcp ();
@@ -70,6 +71,6 @@ BOOST_AUTO_TEST_CASE (ffmpeg_have_dcp_test)
        if (i != boost::filesystem::directory_iterator ()) {
                boost::filesystem::remove (i->path ());
        }
-       
+
        BOOST_CHECK (film->cpls().empty());
 }