mac-capture: Fix incorrect enum comparison

This commit is contained in:
jcm
2025-04-07 15:48:47 -06:00
committed by Ryan Foster
parent 28960a48a7
commit 506281e3f6

View File

@@ -183,7 +183,7 @@ API_AVAILABLE(macos(13.0)) static void *sck_audio_capture_create(obs_data_t *set
sc->audio_capture_type = (unsigned int) obs_data_get_int(settings, "type");
os_sem_init(&sc->shareable_content_available, 1);
screen_capture_build_content_list(sc, sc->capture_type == ScreenCaptureAudioDesktopStream);
screen_capture_build_content_list(sc, sc->audio_capture_type == ScreenCaptureAudioDesktopStream);
sc->capture_delegate = [[ScreenCaptureDelegate alloc] init];
sc->capture_delegate.sc = sc;