is there a new IID_IDeckLinkConfiguration reference ID?

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Andres Gonzalez

  • Posts: 23
  • Joined: Tue Apr 21, 2015 2:05 am

is there a new IID_IDeckLinkConfiguration reference ID?

PostSat Apr 25, 2015 8:54 pm

I have been frustrated trying to figure out why the DeckLink API QueryInterface routine works fine for retrieving the Attributes Interface but now fails when trying to retrieve the Configuration Interface. Then I discovered that my build was picking up the newer 10.4 include files, and the reason QueryInterface now fails to get the configuration interface is that the REFID IID_DeckLinkConfiguration has changed.

version 10.1.1 has:
BMD_CONST REFIID IID_IDeckLinkConfiguration = /* C679A35B-610C-4D09-B748-1D0478100FC0 */ {0xC6,0x79,0xA3,0x5B,0x61,0x0C,0x4D,0x09,0xB7,0x48,0x1D,0x04,0x78,0x10,0x0F,0xC0};

version 10.4 has
BMD_CONST REFIID IID_IDeckLinkConfiguration = /* 1E69FCF6-4203-4936-8076-2A9F4CFD50CB */ {0x1E,0x69,0xFC,0xF6,0x42,0x03,0x49,0x36,0x80,0x76,0x2A,0x9F,0x4C,0xFD,0x50,0xCB};

I thought these reference IDs were cast in stone and should never change?

-Andres
Offline
User avatar

Roman Ryltsov

  • Posts: 24
  • Joined: Sun May 12, 2013 6:52 pm
  • Location: Kharkov, Ukraine

Re: is there a new IID_IDeckLinkConfiguration reference ID?

PostMon Apr 27, 2015 7:43 am

It is the way BMD extends interfaces. Old IDeckLinkConfiguration is now known as IDeckLinkConfiguration_v10_2 (with IID of old IDeckLinkConfiguration) and new IDeckLinkConfiguration has updated syntax. Not so much changed, they updated BMDDeckLinkConfigurationID.
Offline

Andres Gonzalez

  • Posts: 23
  • Joined: Tue Apr 21, 2015 2:05 am

Re: is there a new IID_IDeckLinkConfiguration reference ID?

PostMon Apr 27, 2015 11:55 pm

Thanks for the clarification Roman.

-Andres

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 15 guests