mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-28 19:31:39 -04:00
mac-capture: Fix incorrect enum comparison
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user