mac-capture: Fix incorrect enum comparison
This commit is contained in:
parent
28960a48a7
commit
506281e3f6
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue