Browse Source

mac-capture: Fix incorrect enum comparison

(cherry picked from commit 506281e3f6f59aa95a5f2c2ec48c72dda00aec55)
jcm 6 months ago
parent
commit
5aef1fb9eb
1 changed files with 1 additions and 1 deletions
  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;