summaryrefslogtreecommitdiff
path: root/src/mxf_asset.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/mxf_asset.cc
parent6322c72a13d7be2e991a8e0421414c0af8187b88 (diff)
Try to give basic progress indication on dcpdiff.
Diffstat (limited to 'src/mxf_asset.cc')
-rw-r--r--src/mxf_asset.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mxf_asset.cc b/src/mxf_asset.cc
index cf265712..9b491dd7 100644
--- a/src/mxf_asset.cc
+++ b/src/mxf_asset.cc
@@ -71,31 +71,31 @@ MXFAsset::fill_writer_info (ASDCP::WriterInfo* writer_info, string uuid)
}
bool
-MXFAsset::equals (shared_ptr<const Asset> other, EqualityOptions, boost::function<void (string)> note) const
+MXFAsset::equals (shared_ptr<const Asset> other, EqualityOptions, boost::function<void (NoteType, string)> note) const
{
shared_ptr<const MXFAsset> other_mxf = dynamic_pointer_cast<const MXFAsset> (other);
if (!other_mxf) {
- note ("comparing an MXF asset with a non-MXF asset");
+ note (ERROR, "comparing an MXF asset with a non-MXF asset");
return false;
}
if (_file_name != other_mxf->_file_name) {
- note ("MXF names differ");
+ note (ERROR, "MXF names differ");
return false;
}
if (_edit_rate != other_mxf->_edit_rate) {
- note ("MXF edit rates differ");
+ note (ERROR, "MXF edit rates differ");
return false;
}
if (_intrinsic_duration != other_mxf->_intrinsic_duration) {
- note ("MXF intrinsic durations differ");
+ note (ERROR, "MXF intrinsic durations differ");
return false;
}
if (_duration != other_mxf->_duration) {
- note ("MXF durations differ");
+ note (ERROR, "MXF durations differ");
return false;
}