X-Git-Url: https://main.carlh.net/gitweb/?p=libdcp.git;a=blobdiff_plain;f=src%2Fverify.cc;h=97758e6192e632aae3bf4c498c167a90120818ad;hp=bddf1683cc1c8b926fcfdf216da2d212f21933ae;hb=2c1faeb15715794525f48110c2b8a9df96b387c1;hpb=f80f5f533ab09f64a022314380b2969b6ef88ec3 diff --git a/src/verify.cc b/src/verify.cc index bddf1683..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