Review the timing
Export a few decoded frames around the join and label them by original source position. Ignore the container's displayed duration until the pictures are identified.
Compare the end-exclusive index of segment one with the start index of segment two. Inspect any duplicated or absent source label.
Worked timing example
Two illustrative segments use [0,1,2,3] and [5,6,7]. The combined index set is missing frame 4. A timeline may hide that omission by holding or filling the gap.
What the timing evidence supports
Repair the edit when the handoff is wrong. If every source frame appears once but the identities jump, improve continuity between the two generated shots.