From b40f52c48712cf7acf1edf07e7d7e3a81936891a Mon Sep 17 00:00:00 2001 From: Craig Watson Date: Thu, 26 Nov 2015 14:54:26 +0100 Subject: [PATCH] Fixed compilation error on previous commit (8a9ae) Forgot to remove a couple of things when cleaning up the code for the previous commit --- src/podcast/quicktime/UBQuickTimeFile.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/podcast/quicktime/UBQuickTimeFile.mm b/src/podcast/quicktime/UBQuickTimeFile.mm index 4893e97c..50007556 100644 --- a/src/podcast/quicktime/UBQuickTimeFile.mm +++ b/src/podcast/quicktime/UBQuickTimeFile.mm @@ -210,7 +210,6 @@ bool UBQuickTimeFile::beginSession() setLastErrorMessage(mWaveRecorder->lastErrorMessage()); mWaveRecorder->deleteLater(); mRecordAudio = false; - break; } // Audio is mono, and compressed to AAC at 128kbps @@ -379,7 +378,7 @@ void UBQuickTimeFile::appendAudioBuffer(void* pBuffer, // Add the audio sample to the asset writer input if ([mAudioWriterInput isReadyForMoreMediaData]) if(![mAudioWriterInput appendSampleBuffer:sampleBuffer]) - setLastErrorMessage(QString("Failed to append sample buffer to audio input: %1").arg(err)); + setLastErrorMessage(QString("Failed to append sample buffer to audio input")); else setLastErrorMessage(QString("Audio Writer not ready; sample dropped"));