mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-16 20:37:24 -04:00
decklink: Upgrade sdk to version 11.6
This commit is contained in:
committed by
Colin Edwards
parent
6af8726c74
commit
de8cc46795
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user