decklink: Upgrade sdk to version 11.6

This commit is contained in:
Stéphane Cottin
2020-11-01 01:36:28 +01:00
committed by Colin Edwards
parent 6af8726c74
commit de8cc46795
68 changed files with 4731 additions and 1694 deletions

View File

@@ -30,10 +30,9 @@ ULONG DeckLinkDevice::Release()
bool DeckLinkDevice::Init()
{
ComPtr<IDeckLinkAttributes> attributes;
const HRESULT result = device->QueryInterface(IID_IDeckLinkAttributes,
(void **)&attributes);
ComPtr<IDeckLinkProfileAttributes> attributes;
const HRESULT result = device->QueryInterface(
IID_IDeckLinkProfileAttributes, (void **)&attributes);
if (result == S_OK) {
decklink_bool_t detectable = false;
if (attributes->GetFlag(BMDDeckLinkSupportsInputFormatDetection,