summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/reel_asset.cc8
-rw-r--r--src/types.h3
2 files changed, 9 insertions, 2 deletions
diff --git a/src/reel_asset.cc b/src/reel_asset.cc
index 037a3978..57b709a7 100644
--- a/src/reel_asset.cc
+++ b/src/reel_asset.cc
@@ -105,8 +105,12 @@ ReelAsset::equals (shared_ptr<const ReelAsset> other, EqualityOptions opt, NoteH
if (_annotation_text != other->_annotation_text) {
stringstream s;
s << "Reel: annotation texts differ (" << _annotation_text << " vs " << other->_annotation_text << ")\n";
- note (DCP_ERROR, s.str ());
- return false;
+ if (!opt.reel_annotation_texts_can_differ) {
+ note (DCP_ERROR, s.str ());
+ return false;
+ } else {
+ note (DCP_NOTE, s.str ());
+ }
}
if (_edit_rate != other->_edit_rate) {
diff --git a/src/types.h b/src/types.h
index 133abfd5..3c74c45c 100644
--- a/src/types.h
+++ b/src/types.h
@@ -151,6 +151,7 @@ struct EqualityOptions
, max_audio_sample_error (0)
, cpl_annotation_texts_can_differ (false)
, mxf_filenames_can_differ (false)
+ , reel_annotation_texts_can_differ (false)
, reel_hashes_can_differ (false)
{}
@@ -164,6 +165,8 @@ struct EqualityOptions
bool cpl_annotation_texts_can_differ;
/** true if MXF file leafnames are allowed to differ */
bool mxf_filenames_can_differ;
+ /** true if the <AnnotationText> nodes of Reels are allowed to differ */
+ bool reel_annotation_texts_can_differ;
/** true if <Hash>es in Reels can differ */
bool reel_hashes_can_differ;
};