projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make FileError say what path the problem was with.
[dcpomatic.git]
/
src
/
lib
/
dcp_examiner.cc
diff --git
a/src/lib/dcp_examiner.cc
b/src/lib/dcp_examiner.cc
index dfb47f2ebf6d1f009e9476620e4c708ea84591c4..c70d8b2dbc9172966e400ce8451c9a0ed6168493 100644
(file)
--- a/
src/lib/dcp_examiner.cc
+++ b/
src/lib/dcp_examiner.cc
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014
-2019
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-66,7
+66,7
@@
DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content)
shared_ptr<dcp::CPL> cpl;
for (int i = 0; i < TEXT_COUNT; ++i) {
shared_ptr<dcp::CPL> cpl;
for (int i = 0; i < TEXT_COUNT; ++i) {
- _
has_text[i] = false
;
+ _
text_count[i] = 0
;
}
if (content->cpl ()) {
}
if (content->cpl ()) {
@@
-170,7
+170,7
@@
DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content)
return;
}
return;
}
- _
has_text[TEXT_OPEN_SUBTITLE] = true
;
+ _
text_count[TEXT_OPEN_SUBTITLE] = 1
;
}
BOOST_FOREACH (shared_ptr<dcp::ReelClosedCaptionAsset> j, i->closed_captions()) {
}
BOOST_FOREACH (shared_ptr<dcp::ReelClosedCaptionAsset> j, i->closed_captions()) {
@@
-180,7
+180,7
@@
DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content)
return;
}
return;
}
- _
has_text[TEXT_CLOSED_CAPTION] = true
;
+ _
text_count[TEXT_CLOSED_CAPTION]++
;
}
if (i->main_picture()) {
}
if (i->main_picture()) {