Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for SDK version 11.4 #9

Open
derchrisuk opened this issue Nov 28, 2019 · 5 comments
Open

Support for SDK version 11.4 #9

derchrisuk opened this issue Nov 28, 2019 · 5 comments

Comments

@derchrisuk
Copy link
Member

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:

  • Deprecated Interfaces

    • IDeckLinkAttributes
      • Replaced by IDeckLinkProfileAttributes interface
  • Updated Types

    • BMDDeckLinkAttributeID
      • deprecated BMDDeckLinkSupportsDuplexModeConfiguration
        • Support of duplex mode can be determined using IDeckLinkProfileIterator

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
Copy link
Contributor

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
Copy link
Member Author

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
Copy link
Member

v0tti commented May 19, 2020

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

@derchrisuk
Copy link
Member Author

10.9.5 is the latest we have a package for

@derchrisuk
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants