summaryrefslogtreecommitdiff
path: root/src/asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-02 12:25:15 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-02 12:25:15 +0100
commit8d94e57248b7957d62350083a93aa479457f9385 (patch)
treea3e899ab0d007b540bf4ef9fc5d3650c7df925be /src/asset.cc
parent4f6b9809ed4c9291e2577ee8e0f3bebf15ca2629 (diff)
Tidy up equality options slightly.
Diffstat (limited to 'src/asset.cc')
-rw-r--r--src/asset.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/asset.cc b/src/asset.cc
index 38617e85..78686a17 100644
--- a/src/asset.cc
+++ b/src/asset.cc
@@ -96,11 +96,11 @@ Asset::mxf_path () const
}
list<string>
-Asset::equals (shared_ptr<const Asset> other, EqualityFlags flags, double, double) const
+Asset::equals (shared_ptr<const Asset> other, EqualityOptions opt) const
{
list<string> notes;
- if (flags & LIBDCP_METADATA) {
+ if (opt.flags & LIBDCP_METADATA) {
if (_mxf_name != other->_mxf_name) {
notes.push_back ("MXF names differ");
}
@@ -112,7 +112,7 @@ Asset::equals (shared_ptr<const Asset> other, EqualityFlags flags, double, doubl
}
}
- if (flags & MXF_BITWISE) {
+ if (opt.flags & MXF_BITWISE) {
if (digest() != other->digest()) {
notes.push_back ("MXF digests differ");