- Posts: 1
- Joined: Sun Dec 31, 2023 7:26 pm
- Real Name: Mike Boers
Hi Mike,
Check that your allocator is not holding onto reference of captured IDeckLinkVideoInputFrame objects. It may be possible that the DeckLink driver input frame queue may become exhausted of available input frame buffers to write to.
When the IDeckLinkVideoInputFrame is released (reference count is decremented to zero), the DeckLink API will call IDeckLinkMemoryAllocator::ReleaseBuffer in your custom allocator. At that point you can either free your Vulkan buffer or cache for future allocation. It may be worth to debug within your allocator to confirm that ReleaseBuffer is actually called and that there is an equivalent number of buffer releases for allocations.
Regards
Cameron