From cfb5fe4f6b51e984d4f6c405eb07d1e7705b9717 Mon Sep 17 00:00:00 2001 From: Zakk Date: Sun, 3 May 2015 13:09:25 -0400 Subject: [PATCH] Removed some spammy NSLogs --- .../CSDesktopCapturePlugin/DesktopCapture.m | 3 -- .../CSSyphonCapturePlugin/SyphonCapture.m | 1 - .../CSWindowCapturePlugin/WindowCapture.m | 1 - .../WindowCaptureViewController.m | 5 --- CocoaSplit/AVFAudioCapture.m | 1 - .../CAMultiAudio/CAMultiAudioPCMPlayer.m | 17 --------- CocoaSplit/CAMultiAudio/CAMultiAudioUnit.m | 4 -- CocoaSplit/CSAacEncoder.m | 12 ------ CocoaSplit/CSAnimationChooserViewController.m | 2 - CocoaSplit/CSCaptureBase.m | 1 - CocoaSplit/CSTextCaptureViewControllerBase.m | 1 - CocoaSplit/CaptureController.m | 37 ------------------- CocoaSplit/Compressor/x264Compressor.m | 1 - CocoaSplit/FFMpegTask.m | 6 --- CocoaSplit/InputSource.m | 13 ------- CocoaSplit/OutputDestination.m | 3 -- CocoaSplit/PreviewView.m | 1 - ...pDelegate+AppDelegate_ScriptingAdditions.m | 1 - CocoaSplit/SourceCache.m | 2 - CocoaSplit/SourceLayout.m | 19 ---------- CocoaSplitCmd/main.m | 1 - .../CSSyphonInject.m | 1 - QTCaptureHelper/XPCListenerDelegate.m | 4 -- QTCaptureHelper/main.m | 16 -------- .../TwitchStreamService.m | 1 - 25 files changed, 154 deletions(-) diff --git a/CapturePlugins/CSDesktopCapturePlugin/CSDesktopCapturePlugin/DesktopCapture.m b/CapturePlugins/CSDesktopCapturePlugin/CSDesktopCapturePlugin/DesktopCapture.m index 6d33d6c9..dd7c7493 100644 --- a/CapturePlugins/CSDesktopCapturePlugin/CSDesktopCapturePlugin/DesktopCapture.m +++ b/CapturePlugins/CSDesktopCapturePlugin/CSDesktopCapturePlugin/DesktopCapture.m @@ -172,7 +172,6 @@ -(bool)setupDisplayStream if (!self.currentDisplay) { - NSLog(@"NO DISPLAY"); return NO; } @@ -289,7 +288,6 @@ -(bool)stopDisplayStream if (_displayStreamRef) { - NSLog(@"STOP DISPLAY STREAM"); CGDisplayStreamStop(_displayStreamRef); } @@ -387,7 +385,6 @@ -(void)willDelete -(void)dealloc { - NSLog(@"DEALLOC DISPLAY STREAM"); [self removeObserver:self forKeyPath:@"propertiesChanged"]; [[NSNotificationCenter defaultCenter] removeObserver:self]; } diff --git a/CapturePlugins/CSSyphonCapturePlugin/CSSyphonCapturePlugin/SyphonCapture.m b/CapturePlugins/CSSyphonCapturePlugin/CSSyphonCapturePlugin/SyphonCapture.m index 33b8f813..defbc308 100644 --- a/CapturePlugins/CSSyphonCapturePlugin/CSSyphonCapturePlugin/SyphonCapture.m +++ b/CapturePlugins/CSSyphonCapturePlugin/CSSyphonCapturePlugin/SyphonCapture.m @@ -268,7 +268,6 @@ -(void)changeAvailableVideoDevices for(sserv in servers) { - NSLog(@"Syphon UUID %@", [sserv objectForKey:SyphonServerDescriptionUUIDKey ]); NSString *sy_name = [NSString stringWithFormat:@"%@ - %@", [sserv objectForKey:SyphonServerDescriptionAppNameKey], [sserv objectForKey:SyphonServerDescriptionNameKey]]; CSAbstractCaptureDevice *newDev; diff --git a/CapturePlugins/CSWindowCapturePlugin/CSWindowCapturePlugin/WindowCapture.m b/CapturePlugins/CSWindowCapturePlugin/CSWindowCapturePlugin/WindowCapture.m index 7be6d3ec..aad67350 100644 --- a/CapturePlugins/CSWindowCapturePlugin/CSWindowCapturePlugin/WindowCapture.m +++ b/CapturePlugins/CSWindowCapturePlugin/CSWindowCapturePlugin/WindowCapture.m @@ -21,7 +21,6 @@ -(instancetype)init if (self = [super init]) { - //NSLog(@"SUPER CLASS IS %@", super); _nextCaptureTime = 0.0f; self.captureFPS = 30.0f; diff --git a/CapturePlugins/CSWindowCapturePlugin/CSWindowCapturePlugin/WindowCaptureViewController.m b/CapturePlugins/CSWindowCapturePlugin/CSWindowCapturePlugin/WindowCaptureViewController.m index 43b61212..f1a8e6b3 100644 --- a/CapturePlugins/CSWindowCapturePlugin/CSWindowCapturePlugin/WindowCaptureViewController.m +++ b/CapturePlugins/CSWindowCapturePlugin/CSWindowCapturePlugin/WindowCaptureViewController.m @@ -23,9 +23,4 @@ - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil return self; } --(void)dealloc -{ - NSLog(@"WINDOW CAPTURE VIEW DEALLOC"); - -} @end diff --git a/CocoaSplit/AVFAudioCapture.m b/CocoaSplit/AVFAudioCapture.m index c45a30c8..0e392cd8 100644 --- a/CocoaSplit/AVFAudioCapture.m +++ b/CocoaSplit/AVFAudioCapture.m @@ -211,7 +211,6 @@ -(void) setupAudioCompression _audio_capture_output = [[AVCaptureAudioDataOutput alloc] init]; - NSLog(@"AUDIO SAMPLERATE %d BITRATE %d", self.audioSamplerate, self.audioBitrate); if (self.useAudioEngine) { diff --git a/CocoaSplit/CAMultiAudio/CAMultiAudioPCMPlayer.m b/CocoaSplit/CAMultiAudio/CAMultiAudioPCMPlayer.m index 5f023ea1..37ead9fb 100644 --- a/CocoaSplit/CAMultiAudio/CAMultiAudioPCMPlayer.m +++ b/CocoaSplit/CAMultiAudio/CAMultiAudioPCMPlayer.m @@ -110,7 +110,6 @@ -(bool)playPcmBuffer:(CAMultiAudioPCM *)pcmBuffer - //NSLog(@"SCHED SLICE %d", err); return YES; } @@ -119,8 +118,6 @@ -(void)scheduleBuffer:(CMSampleBufferRef)sampleBuffer { - //NSLog(@"THE BUFFER %@", sampleBuffer); - //credit to TheAmazingAudioEngine for an illustration of proper audiobufferlist allocation. Google leads to some really really bad allocation code... AudioBufferList *sampleABL; @@ -139,7 +136,6 @@ -(void)scheduleBuffer:(CMSampleBufferRef)sampleBuffer sampleABL->mNumberBuffers = bufferCnt; - //NSLog(@"BUFFERCNT %d CHANNELCNT %d, SAMPLES %ld, BYTES/FRAME %d", bufferCnt, channelCnt, numSamples, asbd->mBytesPerFrame); for (int i=0; imFlags & kScheduledAudioSliceFlag_Complete, bufferList->mFlags & kScheduledAudioSliceFlag_BeganToRender, bufferList->mFlags & kScheduledAudioSliceFlag_BeganToRenderLate); - - CAMultiAudioPCM *pcmObj = (__bridge CAMultiAudioPCM *)(userData); //maybe put this on a dedicated queue? //why a queue? don't want to do any sort of memory/managed object operations in an audio callback. diff --git a/CocoaSplit/CAMultiAudio/CAMultiAudioUnit.m b/CocoaSplit/CAMultiAudio/CAMultiAudioUnit.m index 1a20098d..67c9a57d 100644 --- a/CocoaSplit/CAMultiAudio/CAMultiAudioUnit.m +++ b/CocoaSplit/CAMultiAudio/CAMultiAudioUnit.m @@ -27,8 +27,6 @@ -(instancetype)initWithSubType:(OSType)subType unitType:(OSType)unitType AudioComponentInstanceNew(comp, &_audioUnit); OSStatus err; err = AudioUnitInitialize(_audioUnit); - NSLog(@"AU INIT %d", err); - } @@ -51,10 +49,8 @@ -(void)connect:(AudioUnit)toNode AudioUnitGetProperty(_audioUnit, kAudioUnitProperty_StreamFormat, kAudioUnitScope_Output, 1, &asbd, &asbdSize); - NSLog(@"OUTPUT ASBD SAMPLERATE %f", asbd.mSampleRate); err = AudioUnitSetProperty(toNode, kAudioUnitProperty_MakeConnection, kAudioUnitScope_Input, 1, &conn, sizeof(conn)); - NSLog(@"UNIT SET CONN %d", err); err = AudioUnitSetProperty(toNode, kAudioUnitProperty_StreamFormat, kAudioUnitScope_Input, 1, &asbd, asbdSize); diff --git a/CocoaSplit/CSAacEncoder.m b/CocoaSplit/CSAacEncoder.m index 0e9864ed..9c904838 100644 --- a/CocoaSplit/CSAacEncoder.m +++ b/CocoaSplit/CSAacEncoder.m @@ -35,7 +35,6 @@ -(void)preallocateBufferList:(AudioBufferList *)bufferList if (bufferSize > self.preallocatedBuffersize) { - NSLog(@"ALLOCATING FOR %d", bufferSize); _pcmData = malloc(bufferSize*2); //Assuming deinterleaved 2-ch, so allocate enough space for both channels self.preallocatedBuffersize = bufferSize; } @@ -64,12 +63,6 @@ -(void) enqueuePCM:(AudioBufferList *)pcmBuffer atTime:(const AudioTimeStamp *)a //for now assume Float32, 2 channel, non-interleaved. We have to interleave it outselves here. - - - - //NSLog(@"ENCODE BUFFER SIZE %u", (unsigned int)bufsize); - - AudioBuffer buffer0 = pcmBuffer->mBuffers[0]; AudioBuffer buffer1 = pcmBuffer->mBuffers[1]; Float32 *data0 = buffer0.mData; @@ -298,7 +291,6 @@ -(void) setupEncoder - // NSLog(@"CODEC INIT %d COOKIE SIZE %u MAX %u", err, magicCookie->mMagicCookieSize, cookiestructsize); outputSampleCount = 0; @@ -310,10 +302,6 @@ -(void) setupEncoder cookiestructsize = sizeof(CFDictionaryRef); AudioCodecGetProperty(aacCodec, kAudioCodecPropertySettings, &cookiestructsize, &encoderState); - //NSLog(@"ENCODER STATE %@", encoderState); - - - return; } diff --git a/CocoaSplit/CSAnimationChooserViewController.m b/CocoaSplit/CSAnimationChooserViewController.m index 8582f3b5..c282d120 100644 --- a/CocoaSplit/CSAnimationChooserViewController.m +++ b/CocoaSplit/CSAnimationChooserViewController.m @@ -91,8 +91,6 @@ -(void)loadAnimations CSAnimationRunnerObj *runner = [CaptureController sharedAnimationObj]; - NSLog(@"LOADING ANIMATIONS %@", runner); - NSDictionary *animations = [runner allAnimations]; NSMutableArray *tmpList = [NSMutableArray array]; diff --git a/CocoaSplit/CSCaptureBase.m b/CocoaSplit/CSCaptureBase.m index 8a7f661a..c63f965d 100644 --- a/CocoaSplit/CSCaptureBase.m +++ b/CocoaSplit/CSCaptureBase.m @@ -183,7 +183,6 @@ -(id) copyWithZone:(NSZone *)zone NSString *pName = [[NSString alloc] initWithBytes:propName length:strlen(propName) encoding:NSUTF8StringEncoding]; id propertyValue = [self valueForKey:pName]; - NSLog(@"SETTING %@ TO %@",pName, propertyValue); [newCopy setValue:propertyValue forKey:pName]; } diff --git a/CocoaSplit/CSTextCaptureViewControllerBase.m b/CocoaSplit/CSTextCaptureViewControllerBase.m index 7ff4bfe3..01a6e6d5 100644 --- a/CocoaSplit/CSTextCaptureViewControllerBase.m +++ b/CocoaSplit/CSTextCaptureViewControllerBase.m @@ -55,7 +55,6 @@ -(void)changeAttributes:(id)sender -(void)dealloc { - NSLog(@"DEALLOC TEXT CAPTURE BASE!"); NSFontManager *fontManager = [NSFontManager sharedFontManager]; diff --git a/CocoaSplit/CaptureController.m b/CocoaSplit/CaptureController.m index 1100a382..70eaccd3 100644 --- a/CocoaSplit/CaptureController.m +++ b/CocoaSplit/CaptureController.m @@ -477,13 +477,6 @@ -(IBAction)saveCompressPanel NSError *compressError; - if (![self.compressSettingsController commitEditing]) - { - NSLog(@"FAILED TO COMMIT EDITING FOR COMPRESS EDIT"); - } - - - if (self.editingCompressor) { @@ -644,7 +637,6 @@ -(IBAction)closeCreateSheet:(id)sender [self.streamServicePluginViewController.view removeFromSuperview]; - NSLog(@"STREAM SERVICE CONFI WINDOW %@", self.streamServiceConfWindow); [NSApp endSheet:self.streamServiceConfWindow]; [self.streamServiceConfWindow close]; @@ -1052,11 +1044,8 @@ +(CSAnimationRunnerObj *) sharedAnimationObj static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ NSString *animationPluginPath = [[NSBundle mainBundle] pathForResource:@"CSAnimationRunner" ofType:@"plugin"]; - NSLog(@"ANIM PATH %@", animationPluginPath); NSBundle *animationBundle = [NSBundle bundleWithPath:animationPluginPath]; - NSLog(@"ANIM BUNDLE %@", animationBundle); Class animationClass = [animationBundle classNamed:@"CSAnimationRunnerObj"]; - NSLog(@"ANIM CLASS %@", animationClass); sharedAnimationObj = [[animationClass alloc] init]; @@ -1562,15 +1551,6 @@ -(void) loadSettings } - /* - NSString *animationPluginPath = [[NSBundle mainBundle] pathForResource:@"CSAnimationRunner" ofType:@"plugin"]; - NSLog(@"ANIM PATH %@", animationPluginPath); - NSBundle *animationBundle = [NSBundle bundleWithPath:animationPluginPath]; - NSLog(@"ANIM BUNDLE %@", animationBundle); - Class animationClass = [animationBundle classNamed:@"CSAnimationRunnerObj"]; - NSLog(@"ANIM CLASS %@", animationClass); - //self.animationRunner = [[animationClass alloc] init]; - */ self.extraPluginsSaveData = nil; @@ -2153,28 +2133,15 @@ - (void)captureOutputAudio:(id)fromDevice didOutputSampleBuffer:(CMSampleBufferR { - //NSLog(@"AUDIO BUFFER %@", sampleBuffer); if (!self.captureRunning) { return; } - /* - if (_firstFrameTime == 0) - { - //Don't start sending audio to the outputs until a video frame has arrived, with AVFoundation this can take 2+ seconds (!?) - //Might need to prime the capture session first... - return; - } - */ - // NSLog(@"AUDIO SAMPLE BUFFER %@", sampleBuffer); - - CMTime orig_pts = CMSampleBufferGetPresentationTimeStamp(sampleBuffer); - //NSLog(@"AUDIO PTS %@", CMTimeCopyDescription(kCFAllocatorDefault, orig_pts)); if (CMTIME_COMPARE_INLINE(_firstAudioTime, ==, kCMTimeZero)) { @@ -2188,7 +2155,6 @@ - (void)captureOutputAudio:(id)fromDevice didOutputSampleBuffer:(CMSampleBufferR CMTime pts = CMTimeAdd(real_pts, adjust_pts); - //NSLog(@"AUDIO PTS %@", CMTimeCopyDescription(kCFAllocatorDefault, pts)); CMSampleBufferSetOutputPresentationTimeStamp(sampleBuffer, pts); @@ -2339,7 +2305,6 @@ -(void) newFrameTimed if (![self sleepUntil:(startTime += _frame_interval)]) { - //NSLog(@"SLEEP FAILED"); continue; } @@ -2499,7 +2464,6 @@ -(void)processVideoFrame:(CVPixelBufferRef)videoFrame CFAbsoluteTime ptsTime = _frame_time - _firstFrameTime; - //NSLog(@"PTS TIME IS %f", ptsTime); _frameCount++; @@ -2507,7 +2471,6 @@ -(void)processVideoFrame:(CVPixelBufferRef)videoFrame pts = CMTimeMake(ptsTime*1000000, 1000000); - //NSLog(@"PTS TIME IS %@", CMTimeCopyDescription(kCFAllocatorDefault, pts)); duration = CMTimeMake(1000, self.captureFPS*1000); diff --git a/CocoaSplit/Compressor/x264Compressor.m b/CocoaSplit/Compressor/x264Compressor.m index 78d13870..8241c4cf 100644 --- a/CocoaSplit/Compressor/x264Compressor.m +++ b/CocoaSplit/Compressor/x264Compressor.m @@ -240,7 +240,6 @@ - (bool)compressFrame:(CapturedFrameData *)frameData CVImageBufferRef imageBuffer = frameData.videoFrame; - //NSLog(@"WIDTH INPUT %zd HEIGHT %zd", CVPixelBufferGetWidth(imageBuffer), CVPixelBufferGetHeight(imageBuffer)); src_height = CVPixelBufferGetHeight(imageBuffer); src_width = CVPixelBufferGetWidth(imageBuffer); diff --git a/CocoaSplit/FFMpegTask.m b/CocoaSplit/FFMpegTask.m index b6005c14..782e0b04 100644 --- a/CocoaSplit/FFMpegTask.m +++ b/CocoaSplit/FFMpegTask.m @@ -243,16 +243,13 @@ -(void) writeAudioSampleBuffer:(CMSampleBufferRef)theBuffer presentationTimeStam pkt.destruct = NULL; - //NSLog(@"FFMPEG AUDIO PTS %lld/%d", pts.value, pts.timescale); pkt.pts = av_rescale_q(pts.value, (AVRational) {1.0, pts.timescale}, _av_audio_stream->time_base); - //pkt.dts = pkt.pts; -// pkt.pts = pts.value; if (av_interleaved_write_frame(_av_fmt_ctx, &pkt) < 0) { NSLog(@"AV WRITE AUDIO failed for %@", self.stream_output); @@ -396,7 +393,6 @@ -(bool) createAVFormatOut:(CMSampleBufferRef)theBuffer codec_ctx:(AVCodecContext if (!(av_out_fmt->flags & AVFMT_NOFILE)) { int av_err; - NSLog(@"Doing AVIO_OPEN"); if ((av_err = avio_open(&_av_fmt_ctx->pb, [_stream_output UTF8String], AVIO_FLAG_WRITE)) < 0) { NSString *open_err = [self av_error_nsstring:av_err ]; @@ -497,7 +493,6 @@ -(void) writeAVPacket:(CapturedFrameData *)frameData if ([self resetOutputIfNeeded]) { - NSLog(@"OUTPUT RESET"); return; } @@ -516,7 +511,6 @@ -(void) writeAVPacket:(CapturedFrameData *)frameData if (!self.active) { - NSLog(@"NOT ACTIVE"); return; } diff --git a/CocoaSplit/InputSource.m b/CocoaSplit/InputSource.m index 47a8a1a3..ff07cc7e 100644 --- a/CocoaSplit/InputSource.m +++ b/CocoaSplit/InputSource.m @@ -285,20 +285,9 @@ -(id) initWithCoder:(NSCoder *)aDecoder [self updateRotationTransform]; - //[self positionOrigin:x_pos y:y_pos]; - - //self.layoutPosition = self.layer.frame; - //if (width && height) - // { - // [self updateSize:width height:height]; - // } self.layoutPosition = self.layer.frame; - //self.layoutPosition = self.layer.frame; - - //NSLog(@"INIT %f %f %f %f", x_pos, y_pos, width, height); - _selectedVideoType = [aDecoder decodeObjectForKey:@"selectedVideoType"]; @@ -918,7 +907,6 @@ -(NSArray *)sourceTypes -(void)dealloc { - NSLog(@"DEALLOC SOURCE INPUT"); [self deregisterVideoInput:self.videoInput]; for(id vInput in self.videoSources) { @@ -1504,7 +1492,6 @@ -(void) updateOrigin:(CGFloat)x y:(CGFloat)y if (isnan(x)) { - NSLog(@"HOLY CRAP NaN"); return; } diff --git a/CocoaSplit/OutputDestination.m b/CocoaSplit/OutputDestination.m index c85587dc..9e5774c8 100644 --- a/CocoaSplit/OutputDestination.m +++ b/CocoaSplit/OutputDestination.m @@ -131,7 +131,6 @@ -(BOOL) active -(void)setDestination:(NSString *)destination { - NSLog(@"Destination set to %@", destination); if ([destination hasPrefix:@"rtmp://"] || [destination hasPrefix:@"udp:"]) { self.output_format = @"FLV"; @@ -210,7 +209,6 @@ -(void) attachOutput return; } - NSLog(@"ATTACHING OUTPUT"); if (!self.ffmpeg_out) { newout = [[FFMpegTask alloc] init]; @@ -234,7 +232,6 @@ -(void) attachOutput newout.samplerate = self.settingsController.audioSamplerate; newout.audio_bitrate = self.settingsController.audioBitrate; - NSLog(@"SETTINGS %@, FPS %f", self.settingsController, self.settingsController.captureFPS); self.ffmpeg_out = newout; diff --git a/CocoaSplit/PreviewView.m b/CocoaSplit/PreviewView.m index 02d29bb7..fd397fb7 100644 --- a/CocoaSplit/PreviewView.m +++ b/CocoaSplit/PreviewView.m @@ -1244,7 +1244,6 @@ -(bool) createPixelBufferPoolForSize:(NSSize) size { //Without the autorelease NSColor leaks objects - NSLog(@"Preview: Creating Pixel Buffer Pool %f x %f", size.width, size.height); NSMutableDictionary *attributes = [NSMutableDictionary dictionary]; [attributes setValue:[NSNumber numberWithInt:size.width] forKey:(NSString *)kCVPixelBufferWidthKey]; diff --git a/CocoaSplit/ScriptingAddditions/AppDelegate+AppDelegate_ScriptingAdditions.m b/CocoaSplit/ScriptingAddditions/AppDelegate+AppDelegate_ScriptingAdditions.m index 2ebe0730..ddff6979 100644 --- a/CocoaSplit/ScriptingAddditions/AppDelegate+AppDelegate_ScriptingAdditions.m +++ b/CocoaSplit/ScriptingAddditions/AppDelegate+AppDelegate_ScriptingAdditions.m @@ -79,7 +79,6 @@ -(SourceLayout *)activelayout -(BOOL)application:(NSApplication *)sender delegateHandlesKey:(NSString *)key { - NSLog(@"HANDLES KEY? %@", key); NSArray *keys = @[@"layouts", @"width", @"height", @"fps", @"activelayout"]; diff --git a/CocoaSplit/SourceCache.m b/CocoaSplit/SourceCache.m index 91dc4852..ffe03e3c 100644 --- a/CocoaSplit/SourceCache.m +++ b/CocoaSplit/SourceCache.m @@ -57,12 +57,10 @@ -(id) cacheSource:(NSObject *)toCache uniqueID:(NSStrin NSString *sourceKey = [NSString stringWithFormat:@"%@:%@", ofType, uniqueID]; - NSLog(@"SOURCE KEY IS %@", sourceKey); id cachedSource = [self.cacheMap objectForKey:sourceKey]; - NSLog(@"CACHED SOURCE %@", cachedSource); if (!cachedSource) { diff --git a/CocoaSplit/SourceLayout.m b/CocoaSplit/SourceLayout.m index 53e62c10..8b3b4849 100644 --- a/CocoaSplit/SourceLayout.m +++ b/CocoaSplit/SourceLayout.m @@ -104,7 +104,6 @@ -(IBAction)runAnimations:(id)sender -(void)doAnimation:(NSDictionary *)threadDict { - //[CATransaction flush]; CSAnimationRunnerObj *runner = [CaptureController sharedAnimationObj]; @@ -113,24 +112,6 @@ -(void)doAnimation:(NSDictionary *)threadDict CALayer *rootLayer = threadDict[@"rootLayer"]; - /* - InputSource *src = inpMap[@"spinnah"]; - CALayer *layer = src.layer; - - - NSLog(@"LAYER IS %@", layer); - - [CATransaction begin]; - [CATransaction setAnimationDuration:3.5]; - layer.zPosition = -1; - [CATransaction begin]; - [CATransaction setAnimationDuration:5.5]; - [layer setValue:@500.0f forKeyPath:@"bounds.size.width"]; - [CATransaction commit]; - [CATransaction commit]; - - */ - @try { [runner runAnimation:modName forInput:inpMap withSuperlayer:rootLayer]; } diff --git a/CocoaSplitCmd/main.m b/CocoaSplitCmd/main.m index 2f150930..76fac7f0 100644 --- a/CocoaSplitCmd/main.m +++ b/CocoaSplitCmd/main.m @@ -18,7 +18,6 @@ int main(int argc, const char * argv[]) @autoreleasepool { // insert code here... - NSLog(@"Hello, World!"); diff --git a/ExtraPlugins/CSSyphonInjectExtraPlugin/CSSyphonInjectExtraPlugin/CSSyphonInject.m b/ExtraPlugins/CSSyphonInjectExtraPlugin/CSSyphonInjectExtraPlugin/CSSyphonInject.m index f68f69c3..c2d16f50 100644 --- a/ExtraPlugins/CSSyphonInjectExtraPlugin/CSSyphonInjectExtraPlugin/CSSyphonInject.m +++ b/ExtraPlugins/CSSyphonInjectExtraPlugin/CSSyphonInjectExtraPlugin/CSSyphonInject.m @@ -48,7 +48,6 @@ -(void)extraTopLevelMenuClicked - (void)doInject:(NSRunningApplication *)toInject { - NSLog(@"WILL INJECT INTO APPLICATION %s", [toInject.localizedName UTF8String]); pid_t pid = toInject.processIdentifier; diff --git a/QTCaptureHelper/XPCListenerDelegate.m b/QTCaptureHelper/XPCListenerDelegate.m index 5187579c..b1d668b0 100644 --- a/QTCaptureHelper/XPCListenerDelegate.m +++ b/QTCaptureHelper/XPCListenerDelegate.m @@ -43,7 +43,6 @@ @implementation XPCListenerDelegate - (void) dealloc { - NSLog(@"HOLY SHIT DEALLOC"); if (self.xpcProxy) { [self.xpcProxy release]; @@ -58,7 +57,6 @@ - (BOOL) listener:(NSXPCListener *)listener shouldAcceptNewConnection:(NSXPCConn { - NSLog(@"SHOULD ACCEPT NEW CONNECTION\n"); NSXPCInterface *helperInterface = [[NSXPCInterface interfaceWithProtocol:@protocol(QTHelperProtocol)] retain]; NSXPCInterface *masterInterface = [[NSXPCInterface interfaceWithProtocol:@protocol(CapturedFrameProtocol)] retain]; @@ -82,7 +80,6 @@ - (void) listCaptureDevices:(void (^)(NSArray *r_devices))reply { NSArray *devices = [QTCaptureDevice inputDevicesWithMediaType:QTMediaTypeVideo]; - NSLog(@"DEVICES IN HELPER %@", devices); NSMutableArray *retArray = [[NSMutableArray alloc] init]; QTCaptureDevice *devinstance; @@ -279,7 +276,6 @@ void qt_xpc_peer_event_handler(xpc_connection_t conn, xpc_object_t event) } else { const char *message = xpc_dictionary_get_string(event, "message"); - NSLog(@"RECEIVED XPC MESSAGE %s", message); if (!strcmp(message, "list_devices")) { diff --git a/QTCaptureHelper/main.m b/QTCaptureHelper/main.m index 46ff02f5..5402d385 100644 --- a/QTCaptureHelper/main.m +++ b/QTCaptureHelper/main.m @@ -16,21 +16,5 @@ int main(int argc, const char *argv[]) xpc_main(qt_xpc_handle_connection); - /* - XPCListenerDelegate *listenDelegate = [[XPCListenerDelegate new] retain]; - NSLog(@"LISTEN DELEGATE %@", listenDelegate); - - NSXPCListener *listener = [[NSXPCListener serviceListener] retain]; - - //NSString *bundleId = [[NSBundle mainBundle] bundleIdentifier]; - //NSXPCListener *listener = [[NSXPCListener alloc] initWithMachServiceName:bundleId]; - - NSLog(@"LISTENER %@", listener); - listener.delegate = listenDelegate; - - [listener resume]; - NSLog(@"SETUP XPC LISTENER"); - exit(EXIT_FAILURE); - */ } diff --git a/StreamServicePlugins/CSTwitchStreamServicePlugin/TwitchStreamService.m b/StreamServicePlugins/CSTwitchStreamServicePlugin/TwitchStreamService.m index bc496ada..e1297c8a 100644 --- a/StreamServicePlugins/CSTwitchStreamServicePlugin/TwitchStreamService.m +++ b/StreamServicePlugins/CSTwitchStreamServicePlugin/TwitchStreamService.m @@ -40,7 +40,6 @@ -(NSString *)getServiceDestination { - NSLog(@"SELECTED SERVER %@ STREAMKEY %@", self.selectedServer, self.streamKey); if (self.selectedServer) {