diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-14 22:20:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-17 20:13:23 +0100 |
| commit | ad03415009155f8771ca48200f3c4a469c85277e (patch) | |
| tree | bd767c876112cfd6649f381ce31ca4ce30952c07 /tools | |
| parent | 81badfe68a8de71e8c1a89bd63187231a3691d77 (diff) | |
Make CPL annotation_text optional.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/dcpinfo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dcpinfo.cc b/tools/dcpinfo.cc index 5ca9b24f..aa1ce8c2 100644 --- a/tools/dcpinfo.cc +++ b/tools/dcpinfo.cc @@ -397,7 +397,7 @@ main (int argc, char* argv[]) dcp::Time total_time; BOOST_FOREACH (shared_ptr<CPL> i, cpls) { - OUTPUT_CPL_NAME_ID(" CPL: %1 %2\n", i->annotation_text(), i->id()); + OUTPUT_CPL_NAME_ID(" CPL: %1 %2\n", i->annotation_text().get_value_or(""), i->id()); int R = 1; BOOST_FOREACH (shared_ptr<Reel> j, i->reels()) { |
