diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-03 11:00:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-03 11:00:30 +0100 |
| commit | aa81915df29d59ac69276a23ce68e599cae64e70 (patch) | |
| tree | 238efa37c010922a20c14249cd3d371f216ba2d8 /tools/dcpdiff.cc | |
| parent | ec7448895a77f67189e775c8eb0365cc3d636780 (diff) | |
Allow some error in audio when comparing.
Diffstat (limited to 'tools/dcpdiff.cc')
| -rw-r--r-- | tools/dcpdiff.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/dcpdiff.cc b/tools/dcpdiff.cc index 9acbfa1a..17c1ff58 100644 --- a/tools/dcpdiff.cc +++ b/tools/dcpdiff.cc @@ -84,6 +84,8 @@ main (int argc, char* argv[]) options.max_mean_pixel_error = 5; options.max_std_dev_pixel_error = 5; + /* I think this is just below the LSB at 16-bits (ie the 8th most significant bit at 24-bit) */ + options.max_audio_sample_error = 255; list<string> notes; bool equals = a->equals (*b, options, notes); |
