diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-02-28 00:52:42 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-02-28 00:52:42 +0000 |
| commit | 44b97d718fa4b487641a983fa0b6ae485470eef8 (patch) | |
| tree | 131e1149439f30a496c6184e0ac65a076092e8cb /test/test.h | |
| parent | 3c88c626399fff9b95c89065d3b8ee9de1148d52 (diff) | |
Tweak error threshold for an image comparison involving subtitles.
Diffstat (limited to 'test/test.h')
| -rw-r--r-- | test/test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.h b/test/test.h index 78fa26b43..5e030f0cc 100644 --- a/test/test.h +++ b/test/test.h @@ -36,7 +36,7 @@ extern void check_mxf_audio_file (boost::filesystem::path ref, boost::filesystem extern void check_xml (boost::filesystem::path, boost::filesystem::path, std::list<std::string>); extern void check_file (boost::filesystem::path, boost::filesystem::path); extern void check_ffmpeg (boost::filesystem::path, boost::filesystem::path, int audio_tolerance); -extern void check_image (boost::filesystem::path, boost::filesystem::path); +extern void check_image (boost::filesystem::path, boost::filesystem::path, double threshold = 0.01); extern boost::filesystem::path test_film_dir (std::string); extern void write_image (boost::shared_ptr<const Image> image, boost::filesystem::path file, std::string format); boost::filesystem::path dcp_file (boost::shared_ptr<const Film> film, std::string prefix); |
