X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Flib%2Fdcp_content.cc;h=ef877a17fbd438d2159400190ebc91a185774597;hb=30b0bd88a811753061d02945e95d0424229bc1a7;hp=4c4486a281e77c0be0656fa93cc2c5da80e32dd4;hpb=cfcb0f5d66cc68d8d395480a95d4fe95c63e214e;p=dcpomatic.git diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index 4c4486a28..ef877a17f 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -225,7 +225,7 @@ DCPContent::examine (shared_ptr film, shared_ptr job) boost::mutex::scoped_lock lm (_mutex); _name = examiner->name (); for (int i = 0; i < TEXT_COUNT; ++i) { - if (examiner->has_text(static_cast(i))) { + for (int j = 0; j < examiner->text_count(static_cast(i)); ++j) { text.push_back (shared_ptr(new TextContent(this, static_cast(i), static_cast(i)))); } }