The threaded stress gave each side 30 seconds in all for 200000
frames, which a loaded runner under ASan or TSan does not always
manage with one slot: the handoff costs a context switch a frame. The
30 seconds now run from the last frame either side moved, so a queue
that stops still fails and one that is only slow finishes.
Pass slot, fence-value and timing descriptors from a producer to an encoder worker through SPSC queues. Retain busy input and recycle textures only after packet release; deliver EOS before GPU output drains. Exercise the handoff with separate native NVENC producer and encoder threads. Frontend capture, worker scheduling and mux/audio integration remain pending.