From 1d5c211dadb9a9dc2318adce86ca9c31b367cabe Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 23 May 2025 01:23:43 +0200 Subject: Fix incorrect colours with "no colourspace conversion" sources that are not AV_PIX_FMT_XYZ12LE. Prepare the image for where it is going to next. I don't understand the difference in this situation between XYZ12LE and RGB48LE (it seems they are both 16-bit-per-channel) but there you go. --- test/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test.h') diff --git a/test/test.h b/test/test.h index bb92b5385..e26a0a690 100644 --- a/test/test.h +++ b/test/test.h @@ -72,7 +72,7 @@ extern void check_image(boost::filesystem::path ref, boost::filesystem::path che extern boost::filesystem::path test_film_dir (std::string); extern void write_image (std::shared_ptr image, boost::filesystem::path file); boost::filesystem::path dcp_file (std::shared_ptr film, std::string prefix); -void check_one_frame (boost::filesystem::path dcp, int64_t index, boost::filesystem::path ref); +void check_one_frame (boost::filesystem::path dcp, int64_t index, boost::filesystem::path ref, int tolerance = 0); extern boost::filesystem::path subtitle_file (std::shared_ptr film); extern void make_random_file (boost::filesystem::path path, size_t size); extern void verify_dcp(boost::filesystem::path dir, std::vector ignore); -- cgit v1.2.3