Hi all,
I am trying to iterate over a list of devices after setting the 8k card and determine if they are input or output logical devices successfully setting the device profile to "bmdProfileTwoSubDevicesFullDuplex". I have confirmed that the profile was set correctly, but I am now trying to distinguish the logical input and out devices and separate themts to ultimately list just the inputs in a UI. The idea was to use the below call and set boolean isInputDevice depending on the device type, buttl, but it returns 'true' on all both input and output devices.
- Code: Select all
result = deckLinkAttributes->GetFlag(BMDDeckLinkSupportsInputFormatDetection, &supported);
if (result == S_OK)
{
printf(" %-40s %s\n", "Input mode detection supported ?", supported ? "True" : "False");
}
else
{
fprintf(stderr, "Could not query the input mode detection attribute- result = %08x\n", result);
}
Still going though the API documentation but so far I this method is the closest to what I need, yet it returns true even for output devices. This has me wondering if configured output devices still support Input Format Detection? If so, why?
I want to be able to identify an input device even if the SDI cable is unplugged.
Thanks in advance.