-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Labels
Milestone
Description
Hi!
The Decklink mini recorder don't have outputs and because of that the modes list fail to load with the IID_IDeckLinkOutput interface. Must be used the IID_IDeckLinkInput interface to this card work.
Something like this fix the code:
// Query the DeckLink for its configuration interface
// Test input modes
result = deckLink->QueryInterface(IID_IDeckLinkInput,
(void **)&deckLinkOutput);
if (result != S_OK) {
fprintf(stderr,"Could not obtain the IDeckLinkInput interface - result = %08x\n",result);
// Input modes test failed lets try the output modes test
result = deckLink->QueryInterface(IID_IDeckLinkOutput,
(void **)&deckLinkOutput);
if (result != S_OK) {
fprintf(stderr,"Could not obtain the IDeckLinkOutput interface - result = %08x\n",
result);
goto bail;
} else {
fprintf(stderr,"This card have video output(s) but not have video input(s). You can not use this card with the bmdcapture software.\n");
goto bail;
}
}
Reactions are currently unavailable