X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fverify.cc;h=97758e6192e632aae3bf4c498c167a90120818ad;hb=2c1faeb15715794525f48110c2b8a9df96b387c1;hp=dc4bc259d0f77edfc8d4f67b0676a734b72e5ac5;hpb=526b6241324e0eb80a26d86ca22075e2b718539b;p=libdcp.git diff --git a/src/verify.cc b/src/verify.cc index dc4bc259..97758e61 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -763,7 +763,7 @@ static void verify_text_timing ( vector> reels, - optional picture_frame_rate, + int edit_rate, vector& notes, std::function)> check, std::function)> xml, @@ -775,32 +775,39 @@ verify_text_timing ( auto too_short = false; auto too_close = false; auto too_early = false; + auto reel_overlap = false; /* current reel start time (in editable units) */ int64_t reel_offset = 0; - std::function parse; - parse = [&parse, &last_out, &too_short, &too_close, &too_early, &reel_offset](cxml::ConstNodePtr node, int tcr, int pfr, bool first_reel) { + std::function, optional