Fixed compilation error on previous commit (8a9ae)

Forgot to remove a couple of things when cleaning up the code for the
previous commit
preferencesAboutTextFull
Craig Watson 9 years ago
parent 8a9ae09933
commit b40f52c487
  1. 3
      src/podcast/quicktime/UBQuickTimeFile.mm

@ -210,7 +210,6 @@ bool UBQuickTimeFile::beginSession()
setLastErrorMessage(mWaveRecorder->lastErrorMessage()); setLastErrorMessage(mWaveRecorder->lastErrorMessage());
mWaveRecorder->deleteLater(); mWaveRecorder->deleteLater();
mRecordAudio = false; mRecordAudio = false;
break;
} }
// Audio is mono, and compressed to AAC at 128kbps // 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 // Add the audio sample to the asset writer input
if ([mAudioWriterInput isReadyForMoreMediaData]) if ([mAudioWriterInput isReadyForMoreMediaData])
if(![mAudioWriterInput appendSampleBuffer:sampleBuffer]) 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 else
setLastErrorMessage(QString("Audio Writer not ready; sample dropped")); setLastErrorMessage(QString("Audio Writer not ready; sample dropped"));

Loading…
Cancel
Save