-
Input Mode Detection for Intensity Pro using DeckLink SDK
Hi all,
As the subject suggests, I’m trying to automatically determine what display mode to choose based on the device connected to my Intensity Pro card via HDMI, using the DeckLink SDK. I went through the documentation and realized that Input Mode detection is not inherently supported for the Intensity Pro but I was wondering whether a work around is possible. I was thinking of looping through all the display mode indexes until I successfully received an appropriate frame. This would require grabbing a frame from the VideoInputFrameArrived() call back, and reinitializing all interfaces/pointers with the next display mode index if the call back function failed to return a frame.
There are some problems with this approach, for instance attempting to stop the video/audio streams from the call back function will force the program to go into a bad state and it did, resulting in a segfault.
Has anybody managed to find a work around to this limitation? Any advice/suggestions to my approach are more than welcome.
Thanks,
Naveed