diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-09 15:56:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-09 15:56:44 +0100 |
| commit | ee2680399995c91439ccb437fc2692a4015a9aff (patch) | |
| tree | 4630c2b9ffd25d1a9e4b9b103a5ad1cde23f3401 /tools/dcpdiff.cc | |
| parent | e4b8bed37b4fcfb932e2b899003f2a95df908ba0 (diff) | |
Add --reel-annotation-texts to dcpdiff.
Diffstat (limited to 'tools/dcpdiff.cc')
| -rw-r--r-- | tools/dcpdiff.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/dcpdiff.cc b/tools/dcpdiff.cc index 2cc10e90..aee8d2f9 100644 --- a/tools/dcpdiff.cc +++ b/tools/dcpdiff.cc @@ -47,6 +47,7 @@ help (string n) << " -h, --help show this help\n" << " -v, --verbose be verbose\n" << " --cpl-annotation-texts allow differing CPL annotation texts\n" + << " --reel-annotation-texts allow differing reel annotation texts\n" << " -m, --mean-pixel maximum allowed mean pixel error (default 5)\n" << " -s, --std-dev-pixel maximum allowed standard deviation of pixel error (default 5)\n" << " --key hexadecimal key to use to decrypt MXFs\n" @@ -104,6 +105,7 @@ main (int argc, char* argv[]) options.max_mean_pixel_error = 5; options.max_std_dev_pixel_error = 5; options.reel_hashes_can_differ = true; + options.reel_annotation_texts_can_differ = false; bool keep_going = false; bool ignore_missing_assets = false; optional<string> key; @@ -121,10 +123,11 @@ main (int argc, char* argv[]) { "ignore-missing-assets", no_argument, 0, 'A'}, { "cpl-annotation-texts", no_argument, 0, 'C'}, { "key", required_argument, 0, 'D'}, + { "reel-annotation-texts", no_argument, 0, 'E'}, { 0, 0, 0, 0 } }; - int c = getopt_long (argc, argv, "Vhvm:s:kACD:", long_options, &option_index); + int c = getopt_long (argc, argv, "Vhvm:s:kACD:E", long_options, &option_index); if (c == -1) { break; @@ -159,6 +162,9 @@ main (int argc, char* argv[]) case 'D': key = string (optarg); break; + case 'E': + options.reel_annotation_texts_can_differ = true; + break; } } |
