Skip to content
This repository has been archived by the owner on Jun 28, 2020. It is now read-only.

Commit

Permalink
Removed due to compiling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
paxchristos committed May 18, 2012
1 parent 68ec88e commit ecd36c8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions media/libmediaplayerservice/StagefrightRecorder.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -806,11 +806,11 @@ status_t StagefrightRecorder::start() {
status = startMPEG2TSRecording(); status = startMPEG2TSRecording();
break; break;


#ifdef QCOM_HARDWARE /*#ifdef QCOM_HARDWARE
case OUTPUT_FORMAT_QCP: case OUTPUT_FORMAT_QCP:
status = startExtendedRecording( ); status = startExtendedRecording( );
break; break;
#endif #endif removed */
default: default:
LOGE("Unsupported output file format: %d", mOutputFormat); LOGE("Unsupported output file format: %d", mOutputFormat);
status = UNKNOWN_ERROR; status = UNKNOWN_ERROR;
Expand Down Expand Up @@ -861,14 +861,14 @@ sp<MediaSource> StagefrightRecorder::createAudioSource() {
case AUDIO_ENCODER_AAC: case AUDIO_ENCODER_AAC:
mime = MEDIA_MIMETYPE_AUDIO_AAC; mime = MEDIA_MIMETYPE_AUDIO_AAC;
break; break;
#ifdef QCOM_HARDWARE /*#ifdef QCOM_HARDWARE
case AUDIO_ENCODER_EVRC: case AUDIO_ENCODER_EVRC:
mime = MEDIA_MIMETYPE_AUDIO_EVRC; mime = MEDIA_MIMETYPE_AUDIO_EVRC;
break; break;
case AUDIO_ENCODER_QCELP: case AUDIO_ENCODER_QCELP:
mime = MEDIA_MIMETYPE_AUDIO_QCELP; mime = MEDIA_MIMETYPE_AUDIO_QCELP;
break; break;
#endif #endif removed */
default: default:
LOGE("Unknown audio encoder: %d", mAudioEncoder); LOGE("Unknown audio encoder: %d", mAudioEncoder);
return NULL; return NULL;
Expand Down Expand Up @@ -1455,13 +1455,13 @@ status_t StagefrightRecorder::setupVideoEncoder(
CHECK(meta->findInt32(kKeyStride, &stride)); CHECK(meta->findInt32(kKeyStride, &stride));
CHECK(meta->findInt32(kKeySliceHeight, &sliceHeight)); CHECK(meta->findInt32(kKeySliceHeight, &sliceHeight));
CHECK(meta->findInt32(kKeyColorFormat, &colorFormat)); CHECK(meta->findInt32(kKeyColorFormat, &colorFormat));
#ifdef QCOM_HARDWARE /*#ifdef QCOM_HARDWARE
CHECK(meta->findInt32(kKeyHFR, &hfr)); CHECK(meta->findInt32(kKeyHFR, &hfr));
if(hfr) { if(hfr) {
mMaxFileDurationUs = mMaxFileDurationUs * (hfr/mFrameRate); mMaxFileDurationUs = mMaxFileDurationUs * (hfr/mFrameRate);
} }
#endif #endif removed */


enc_meta->setInt32(kKeyWidth, width); enc_meta->setInt32(kKeyWidth, width);
enc_meta->setInt32(kKeyHeight, height); enc_meta->setInt32(kKeyHeight, height);
Expand Down

0 comments on commit ecd36c8

Please sign in to comment.