diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-07-25 13:32:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-07-25 13:32:07 +0100 |
| commit | bb06c37abbe900a1f0f86d428e9068a96682c188 (patch) | |
| tree | 5b4508ea8d355cac16ce156d3317c4a5925940e2 /tools/dcpdiff.cc | |
| parent | 37ad399586328e579435f853e081da6f55f64ae1 (diff) | |
dcpdiff option to allow issue dates to differ.
Diffstat (limited to 'tools/dcpdiff.cc')
| -rw-r--r-- | tools/dcpdiff.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/dcpdiff.cc b/tools/dcpdiff.cc index 1818f2b6..af0e1854 100644 --- a/tools/dcpdiff.cc +++ b/tools/dcpdiff.cc @@ -63,6 +63,7 @@ help (string n) << " --cpl-annotation-texts allow differing CPL annotation texts\n" << " --reel-annotation-texts allow differing reel annotation texts\n" << " -a, --annotation-texts allow different CPL and reel annotation texts\n" + << " -d, --issue-dates allow different issue dates\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" @@ -136,6 +137,7 @@ main (int argc, char* argv[]) { "std-dev-pixel", required_argument, 0, 's'}, { "keep-going", no_argument, 0, 'k'}, { "annotation-texts", no_argument, 0, 'a'}, + { "issue-dates", no_argument, 0, 'd'}, /* From here we're using random capital letters for the short option */ { "ignore-missing-assets", no_argument, 0, 'A'}, { "cpl-annotation-texts", no_argument, 0, 'C'}, @@ -144,7 +146,7 @@ main (int argc, char* argv[]) { 0, 0, 0, 0 } }; - int c = getopt_long (argc, argv, "Vhvm:s:kaACD:E", long_options, &option_index); + int c = getopt_long (argc, argv, "Vhvm:s:kadACD:E", long_options, &option_index); if (c == -1) { break; @@ -172,6 +174,9 @@ main (int argc, char* argv[]) case 'a': options.cpl_annotation_texts_can_differ = options.reel_annotation_texts_can_differ = true; break; + case 'd': + options.issue_dates_can_differ = true; + break; case 'A': ignore_missing_assets = true; break; |
