X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fvideo_content_scale_test.cc;h=67bfda3e5afae3f6e2f6c81a091b949d53ac6f8e;hb=278bfa265eed9b2fafec8b2bb5e92541a1bb23c1;hp=b1a1e258d1482c0587251daed57d09c632a24db3;hpb=b1dc9c3a2f7e55c9afc5bf2d5b465371b048e14f;p=dcpomatic.git diff --git a/test/video_content_scale_test.cc b/test/video_content_scale_test.cc index b1a1e258d..67bfda3e5 100644 --- a/test/video_content_scale_test.cc +++ b/test/video_content_scale_test.cc @@ -18,16 +18,23 @@ */ -#include +/** @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 +#include using std::list; using std::string; using std::cerr; using boost::shared_ptr; using boost::optional; +using dcp::raw_convert; static void @@ -37,7 +44,7 @@ test (dcp::Size content_size, dcp::Size display_size, dcp::Size film_size, Crop string s = "" "" "FFmpeg" - "/home/c.hetherington/DCP/prophet_clip.mkv" + "/home/c.hetherington/DCP/prophet_long_clip.mkv" "f3f23663da5bef6d2cbaa0db066f3351314142710" "0" "0" @@ -89,7 +96,7 @@ test (dcp::Size content_size, dcp::Size display_size, dcp::Size film_size, Crop doc->read_string (s); list notes; - shared_ptr vc (new FFmpegContent (film, doc, 10, notes)); + shared_ptr vc (new FFmpegContent (doc, 10, notes)); optional sc; if (ratio) {