summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-09-13 23:34:35 +0200
committerCarl Hetherington <cth@carlh.net>2025-09-13 23:34:35 +0200
commita5179ee033bc335002fe43dd2168d763f67ec975 (patch)
treea05f247c546c8e2b0cbef0c566d8278e9d141d6f /src
parent2795ab2e05fcd27a56ddb08ecbbc6af5c3bf983a (diff)
Compare CPL ID also when sorting verification notes.
Diffstat (limited to 'src')
-rw-r--r--src/verify.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/verify.cc b/src/verify.cc
index d3ab2c3f..68eb5e44 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -2262,6 +2262,10 @@ dcp::operator< (dcp::VerificationNote const& a, dcp::VerificationNote const& b)
return a.other_id().get_value_or("") < b.other_id().get_value_or("");
}
+ if (a.cpl_id() != b.cpl_id()) {
+ return a.cpl_id().get_value_or("") < b.cpl_id().get_value_or("");
+ }
+
return a.frame_rate().get_value_or(0) != b.frame_rate().get_value_or(0);
}