[idd] capture: keep preparing during publication

Do not freeze the spare retained candidate while a frame is copied to
IVSHMEM. Allow newer source frames to replace that candidate and retain
any frame prepared after the published sequence for the next deadline.

Take the pipeline lock before selecting the publication candidate so its
transport copy is submitted before any newly admitted preparation.
This commit is contained in:
Geoffrey McRae
2026-08-06 12:27:09 +10:00
parent f04775823d
commit 6bb5c039cd
2 changed files with 22 additions and 19 deletions

View File

@@ -62,7 +62,6 @@ private:
CANDIDATE_PREPARING,
CANDIDATE_READY,
CANDIDATE_PUBLISHING,
CANDIDATE_HELD,
};
struct FrameCandidate