Obey requests to change the video range of RGB content.
[dcpomatic.git] / test / image_proxy_test.cc
index 061df9eed56522b5079de50e47a05abe487e39f9..0999d4b1064a164e4a1c82623a00336ecede2e3a 100644 (file)
@@ -53,14 +53,14 @@ BOOST_AUTO_TEST_CASE (j2k_image_proxy_same_test)
 BOOST_AUTO_TEST_CASE (ffmpeg_image_proxy_same_test)
 {
        {
-               shared_ptr<FFmpegImageProxy> proxy1(new FFmpegImageProxy(data_file0));
-               shared_ptr<FFmpegImageProxy> proxy2(new FFmpegImageProxy(data_file0));
+               shared_ptr<FFmpegImageProxy> proxy1(new FFmpegImageProxy(data_file0, VIDEO_RANGE_FULL));
+               shared_ptr<FFmpegImageProxy> proxy2(new FFmpegImageProxy(data_file0, VIDEO_RANGE_FULL));
                BOOST_CHECK (proxy1->same(proxy2));
        }
 
        {
-               shared_ptr<FFmpegImageProxy> proxy1(new FFmpegImageProxy(data_file0));
-               shared_ptr<FFmpegImageProxy> proxy2(new FFmpegImageProxy(data_file1));
+               shared_ptr<FFmpegImageProxy> proxy1(new FFmpegImageProxy(data_file0, VIDEO_RANGE_FULL));
+               shared_ptr<FFmpegImageProxy> proxy2(new FFmpegImageProxy(data_file1, VIDEO_RANGE_FULL));
                BOOST_CHECK (!proxy1->same(proxy2));
        }
 }