Change how channels are specified for these tests.
[dcpomatic.git] / test / image_proxy_test.cc
index a9872b958047c30f162f7f414e8dd836530d655d..572f31c815ffd6472609d03bcde74e8e7cd8d1a1 100644 (file)
@@ -26,7 +26,6 @@
 
 
 using std::make_shared;
-using std::shared_ptr;
 
 
 static const boost::filesystem::path data_file0 = TestPaths::private_data() / "player_seek_test_0.png";
@@ -54,14 +53,14 @@ BOOST_AUTO_TEST_CASE (j2k_image_proxy_same_test)
 BOOST_AUTO_TEST_CASE (ffmpeg_image_proxy_same_test)
 {
        {
-               auto proxy1 = make_shared<FFmpegImageProxy>(data_file0, VideoRange::FULL);
-               auto proxy2 = make_shared<FFmpegImageProxy>(data_file0, VideoRange::FULL);
+               auto proxy1 = make_shared<FFmpegImageProxy>(data_file0);
+               auto proxy2 = make_shared<FFmpegImageProxy>(data_file0);
                BOOST_CHECK (proxy1->same(proxy2));
        }
 
        {
-               auto proxy1 = make_shared<FFmpegImageProxy>(data_file0, VideoRange::FULL);
-               auto proxy2 = make_shared<FFmpegImageProxy>(data_file1, VideoRange::FULL);
+               auto proxy1 = make_shared<FFmpegImageProxy>(data_file0);
+               auto proxy2 = make_shared<FFmpegImageProxy>(data_file1);
                BOOST_CHECK (!proxy1->same(proxy2));
        }
 }