decklink: Remove unnecessary AddRef

Caused leaking memory
master
jp9000 2022-09-02 17:06:25 -07:00
parent 3332beece5
commit 9176348176
1 changed files with 0 additions and 2 deletions

View File

@ -6,8 +6,6 @@ DeckLinkDeviceMode::DeckLinkDeviceMode(IDeckLinkDisplayMode *mode, long long id)
if (mode == nullptr)
return;
mode->AddRef();
decklink_string_t decklinkStringName;
if (mode->GetName(&decklinkStringName) == S_OK)
DeckLinkStringToStdString(decklinkStringName, name);