Various playlist editor developments and fixes.
[dcpomatic.git] / test / video_content_scale_test.cc
index bb6694db223a0d75b4a8fbf45963f87c25f9a69f..67bfda3e5afae3f6e2f6c81a091b949d53ac6f8e 100644 (file)
 
 */
 
-#include <boost/test/unit_test.hpp>
+/** @file  test/video_content_scale_test.cc
+ *  @brief Test VideoContentScale
+ *  @ingroup selfcontained
+ */
+
 #include "lib/ffmpeg_content.h"
 #include "lib/ratio.h"
 #include "lib/video_content.h"
+#include <dcp/raw_convert.h>
+#include <boost/test/unit_test.hpp>
 
 using std::list;
 using std::string;
@@ -38,7 +44,7 @@ test (dcp::Size content_size, dcp::Size display_size, dcp::Size film_size, Crop
        string s = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
                "<Content>"
                "<Type>FFmpeg</Type>"
-               "<Path>/home/c.hetherington/DCP/prophet_clip.mkv</Path>"
+               "<Path>/home/c.hetherington/DCP/prophet_long_clip.mkv</Path>"
                "<Digest>f3f23663da5bef6d2cbaa0db066f3351314142710</Digest>"
                "<Position>0</Position>"
                "<TrimStart>0</TrimStart>"
@@ -90,7 +96,7 @@ test (dcp::Size content_size, dcp::Size display_size, dcp::Size film_size, Crop
        doc->read_string (s);
 
        list<string> notes;
-       shared_ptr<FFmpegContent> vc (new FFmpegContent (film, doc, 10, notes));
+       shared_ptr<FFmpegContent> vc (new FFmpegContent (doc, 10, notes));
 
        optional<VideoContentScale> sc;
        if (ratio) {