Explorar el Código

mac-avcapture: Remove debug code

Palana hace 11 años
padre
commit
2920281e69
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      plugins/mac-avcapture/av-capture.m

+ 0 - 2
plugins/mac-avcapture/av-capture.m

@@ -170,7 +170,6 @@ static inline bool update_frame(struct av_capture *capture,
 		AVLOG(LOG_ERROR, "Unhandled fourcc: %s (0x%x) (%zu planes)",
 				AV_FOURCC_STR(fourcc), fourcc,
 				CVPixelBufferGetPlaneCount(img));
-		NSLog(@"%@", sample_buffer);
 		return false;
 	}
 
@@ -825,7 +824,6 @@ static void av_capture_update(void *data, obs_data_t settings)
 		return switch_device(capture, uid, settings);
 
 	NSString *preset = get_string(settings, "preset");
-	NSLog(@"%@", preset);
 	if (![capture->device supportsAVCaptureSessionPreset:preset]) {
 		AVLOG(LOG_ERROR, "Preset %s not available", preset.UTF8String);
 		preset = select_preset(capture->device, preset);