diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-02 12:25:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-02 12:25:15 +0100 |
| commit | 8d94e57248b7957d62350083a93aa479457f9385 (patch) | |
| tree | a3e899ab0d007b540bf4ef9fc5d3650c7df925be /src/sound_asset.cc | |
| parent | 4f6b9809ed4c9291e2577ee8e0f3bebf15ca2629 (diff) | |
Tidy up equality options slightly.
Diffstat (limited to 'src/sound_asset.cc')
| -rw-r--r-- | src/sound_asset.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc index 2d834957..71d1d9ff 100644 --- a/src/sound_asset.cc +++ b/src/sound_asset.cc @@ -177,11 +177,11 @@ SoundAsset::write_to_cpl (ostream& s) const } list<string> -SoundAsset::equals (shared_ptr<const Asset> other, EqualityFlags flags, double max_mean, double max_std_dev) const +SoundAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt) const { - list<string> notes = Asset::equals (other, flags, max_mean, max_std_dev); + list<string> notes = Asset::equals (other, opt); - if (flags & MXF_INSPECT) { + if (opt.flags & MXF_INSPECT) { ASDCP::PCM::MXFReader reader_A; if (ASDCP_FAILURE (reader_A.OpenRead (mxf_path().string().c_str()))) { cout << "failed " << mxf_path() << "\n"; |
