if (!deckLinkDevice->IsCapturing())
{
// Note: this will use the resolution that the camera is outputting. Ensure you set the camera to the settings you want.
// The capture card will detect when camera display settings are changed, and update accordingly.
deckLinkDevice->StartCapture(bmdModeHD1080i5994);
return S_OK;
}
The capture mode needs to be changed to what the camera is outputting, but instead it is hardcoded to 1080i5994, which will cause access violation if we record 4K content. Of course we can manually update this mode, but it was not mentioned anywhere so we wasted quite a lot of time to troubleshoot. Please either update the document or fix the code.