summaryrefslogtreecommitdiff
path: root/test/test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.cc')
-rw-r--r--test/test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test.cc b/test/test.cc
index 633e2df6a..6cdb6d510 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -557,8 +557,8 @@ check_dcp(boost::filesystem::path ref, boost::filesystem::path check, bool sound
check_dcp.read ();
dcp::EqualityOptions options;
- options.max_mean_pixel_error = 5;
- options.max_std_dev_pixel_error = 5;
+ options.max_mean_pixel_error = 8;
+ options.max_std_dev_pixel_error = 6;
options.max_audio_sample_error = 255;
options.cpl_annotation_texts_can_differ = true;
options.reel_annotation_texts_can_differ = true;
@@ -817,7 +817,7 @@ write_image (shared_ptr<const Image> image, boost::filesystem::path file)
void
-check_ffmpeg (boost::filesystem::path ref, boost::filesystem::path check, int audio_tolerance)
+check_ffmpeg(boost::filesystem::path ref, boost::filesystem::path check, float audio_tolerance)
{
int const r = system (fmt::format("ffcmp -t {} {} {}", audio_tolerance, ref.string(), check.string()).c_str());
BOOST_REQUIRE_EQUAL (WEXITSTATUS(r), 0);