voc / decklink-debugger

Blackmagicdesign DeckLink input debugger
MIT License
22 stars 9 forks source link

Support for SDK version 11.4 #9

Open derchrisuk opened 4 years ago

derchrisuk commented 4 years ago

There have been some changes in the SDK, which prevents it from compiling against it. I have already started a new branch for this: https://github.com/voc/decklink-debugger/tree/sdk_11_4

Here are the main changes preventing compilation:

Changes:

I was able to fix the deprecated IDeckLinkAttributes, and changed them to IDeckLinkProfileAttributes.

But I'm not able to fix the BMDDeckLinkSupportsDuplexModeConfiguration by using IDeckLinkProfileIterator instead.

The current branch has the DuplexMode check commented out, and it does compile against the latest 11.4 SDK. However I have not checked if it is still working with these changes.

From what I see it looks like that the way DeckLink devices are queried needs to be rewritten using IDeckLinkProfileIterator

MaZderMind commented 4 years ago

A similar discussion took place at https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/421 where I used very similar code to implement Duplex Mode. I'll see if I can test the Code in either PR on a Duo2 and some MiniRecorder 3G Cards.

derchrisuk commented 4 years ago

That would be great. Had a look at the gstreamer PR, and I believe I understand in theory what needs to be changed, but lack the implementation skills ;)

v0tti commented 4 years ago

What is the latest supported version of the SDK? It seems 11.3 suffers from the same errors.

derchrisuk commented 4 years ago

10.9.5 is the latest we have a package for

derchrisuk commented 3 years ago

@MaZderMind did you already had a chance to look further into this?