mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 11:40:22 +00:00
Decklink: explicitly disable audio/video stream
* it seems that this should be now disabled explicitly with BlackM. SDK 9.5
This commit is contained in:
@@ -1064,6 +1064,10 @@ vidcap_decklink_done(void *state)
|
||||
for (int i = 0; i < s->devices_cnt; ++i)
|
||||
{
|
||||
result = s->state[i].deckLinkInput->StopStreams();
|
||||
if(s->grab_audio && i == 0) {
|
||||
result = s->state[i].deckLinkInput->DisableAudioInput();
|
||||
}
|
||||
result = s->state[i].deckLinkInput->DisableVideoInput();
|
||||
if (result != S_OK)
|
||||
{
|
||||
printf("Could not stop stream: %08x\n", (int) result);
|
||||
|
||||
Reference in New Issue
Block a user