Imported Upstream version 0.14.2+dfsg1
This commit is contained in:
parent
fb3990e9e5
commit
41a01dbf05
529 changed files with 25112 additions and 2336 deletions
|
|
@ -72,8 +72,13 @@ bool DeckLinkDevice::Init()
|
|||
if (result != S_OK)
|
||||
return true;
|
||||
|
||||
/* http://forum.blackmagicdesign.com/viewtopic.php?f=12&t=33967
|
||||
* BMDDeckLinkTopologicalID for older devices
|
||||
* BMDDeckLinkPersistentID for newer ones */
|
||||
|
||||
int64_t value;
|
||||
if (attributes->GetInt(BMDDeckLinkPersistentID, &value) != S_OK)
|
||||
if (attributes->GetInt(BMDDeckLinkPersistentID, &value) != S_OK &&
|
||||
attributes->GetInt(BMDDeckLinkTopologicalID, &value) != S_OK)
|
||||
return true;
|
||||
|
||||
std::ostringstream os;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue