obs-studio/plugins/decklink/DecklinkBase.cpp

23 lines
426 B
C++

#include "DecklinkBase.h"
DecklinkBase::DecklinkBase(DeckLinkDeviceDiscovery *discovery_)
: discovery(discovery_)
{
}
DeckLinkDevice *DecklinkBase::GetDevice() const
{
return instance ? instance->GetDevice() : nullptr;
}
bool DecklinkBase::Activate(DeckLinkDevice *, long long)
{
return false;
}
bool DecklinkBase::Activate(DeckLinkDevice *, long long, BMDVideoConnection,
BMDAudioConnection)
{
return false;
}