mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-06 06:14:43 -04:00
Merge pull request #2440 from cg2121/fix-decklink-crash
Decklink: Fix crash when no device selected
This commit is contained in:
@@ -46,6 +46,9 @@ static bool decklink_output_start(void *data)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!decklink->deviceHash || !*decklink->deviceHash)
|
||||
return false;
|
||||
|
||||
decklink->audio_samplerate = aoi.samples_per_sec;
|
||||
decklink->audio_planes = 2;
|
||||
decklink->audio_size =
|
||||
|
||||
Reference in New Issue
Block a user