Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed due to compiling issues

  • Loading branch information...
commit ecd36c820b190a73290e98fed0d82faf0a662db8 1 parent 68ec88e
@paxchristos authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 media/libmediaplayerservice/StagefrightRecorder.cpp
View
12 media/libmediaplayerservice/StagefrightRecorder.cpp
@@ -806,11 +806,11 @@ status_t StagefrightRecorder::start() {
status = startMPEG2TSRecording();
break;
-#ifdef QCOM_HARDWARE
+/*#ifdef QCOM_HARDWARE
case OUTPUT_FORMAT_QCP:
status = startExtendedRecording( );
break;
-#endif
+#endif removed */
default:
LOGE("Unsupported output file format: %d", mOutputFormat);
status = UNKNOWN_ERROR;
@@ -861,14 +861,14 @@ sp<MediaSource> StagefrightRecorder::createAudioSource() {
case AUDIO_ENCODER_AAC:
mime = MEDIA_MIMETYPE_AUDIO_AAC;
break;
-#ifdef QCOM_HARDWARE
+/*#ifdef QCOM_HARDWARE
case AUDIO_ENCODER_EVRC:
mime = MEDIA_MIMETYPE_AUDIO_EVRC;
break;
case AUDIO_ENCODER_QCELP:
mime = MEDIA_MIMETYPE_AUDIO_QCELP;
break;
-#endif
+#endif removed */
default:
LOGE("Unknown audio encoder: %d", mAudioEncoder);
return NULL;
@@ -1455,13 +1455,13 @@ status_t StagefrightRecorder::setupVideoEncoder(
CHECK(meta->findInt32(kKeyStride, &stride));
CHECK(meta->findInt32(kKeySliceHeight, &sliceHeight));
CHECK(meta->findInt32(kKeyColorFormat, &colorFormat));
-#ifdef QCOM_HARDWARE
+/*#ifdef QCOM_HARDWARE
CHECK(meta->findInt32(kKeyHFR, &hfr));
if(hfr) {
mMaxFileDurationUs = mMaxFileDurationUs * (hfr/mFrameRate);
}
-#endif
+#endif removed */
enc_meta->setInt32(kKeyWidth, width);
enc_meta->setInt32(kKeyHeight, height);
Please sign in to comment.
Something went wrong with that request. Please try again.