summaryrefslogtreecommitdiff
path: root/src/reel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-15 13:48:22 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-15 13:48:22 +0100
commit034abb6bb0f1d0382620bdcc43501ce0ba30b03a (patch)
tree862347349d48e3afae6190e60fbc2d0cfa88f23c /src/reel.cc
parent6322c72a13d7be2e991a8e0421414c0af8187b88 (diff)
Try to give basic progress indication on dcpdiff.
Diffstat (limited to 'src/reel.cc')
-rw-r--r--src/reel.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/reel.cc b/src/reel.cc
index 096acf19..86533ea2 100644
--- a/src/reel.cc
+++ b/src/reel.cc
@@ -50,10 +50,10 @@ Reel::write_to_cpl (ostream& s) const
}
bool
-Reel::equals (boost::shared_ptr<const Reel> other, EqualityOptions opt, boost::function<void (string)> note) const
+Reel::equals (boost::shared_ptr<const Reel> other, EqualityOptions opt, boost::function<void (NoteType, string)> note) const
{
if ((_main_picture && !other->_main_picture) || (!_main_picture && other->_main_picture)) {
- note ("reel has different assets");
+ note (ERROR, "reel has different assets");
return false;
}
@@ -62,7 +62,7 @@ Reel::equals (boost::shared_ptr<const Reel> other, EqualityOptions opt, boost::f
}
if ((_main_sound && !other->_main_sound) || (!_main_sound && other->_main_sound)) {
- note ("reel has different assets");
+ note (ERROR, "reel has different assets");
return false;
}
@@ -71,7 +71,7 @@ Reel::equals (boost::shared_ptr<const Reel> other, EqualityOptions opt, boost::f
}
if ((_main_subtitle && !other->_main_subtitle) || (!_main_subtitle && other->_main_subtitle)) {
- note ("reel has different assets");
+ note (ERROR, "reel has different assets");
return false;
}