Sfoglia il codice sorgente

mac-capture: Fix incorrect enum comparison

jcm 8 mesi fa
parent
commit
506281e3f6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      plugins/mac-capture/mac-sck-audio-capture.m

+ 1 - 1
plugins/mac-capture/mac-sck-audio-capture.m

@@ -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;