Skip to content

Decklink mini recorder and bmdcapture modes list #18

@c0ntact0

Description

@c0ntact0

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;
  }
}

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/942859-decklink-mini-recorder-and-bmdcapture-modes-list?utm_campaign=plugin&utm_content=tracker%2F256764&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F256764&utm_medium=issues&utm_source=github).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions