decklink: Log decklink API version on plugin load
This commit is contained in:
parent
6b08c064f6
commit
8090ebffb1
3 changed files with 48 additions and 0 deletions
|
|
@ -11,6 +11,15 @@ IDeckLinkDiscovery *CreateDeckLinkDiscoveryInstance(void)
|
|||
return result == S_OK ? instance : nullptr;
|
||||
}
|
||||
|
||||
IDeckLinkIterator *CreateDeckLinkIteratorInstance(void)
|
||||
{
|
||||
IDeckLinkIterator *iterator;
|
||||
const HRESULT result =
|
||||
CoCreateInstance(CLSID_CDeckLinkIterator, nullptr, CLSCTX_ALL,
|
||||
IID_IDeckLinkIterator, (void **)&iterator);
|
||||
return result == S_OK ? iterator : nullptr;
|
||||
}
|
||||
|
||||
bool DeckLinkStringToStdString(decklink_string_t input, std::string &output)
|
||||
{
|
||||
if (input == nullptr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue