diff options
author | Chong Zhang <chz@google.com> | 2015-02-20 16:40:04 -0800 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2015-02-23 14:22:30 -0800 |
commit | 9ee53a49860e91c2b012883eef09d669a7829e06 (patch) | |
tree | 902cb3ebd35c41dc9b2a6188dbe0d1561335f334 /media/libmediaplayerservice/StagefrightRecorder.h | |
parent | 96faa25f4aea2c792523ae920da91f919f5ea392 (diff) | |
download | frameworks_av-9ee53a49860e91c2b012883eef09d669a7829e06.zip frameworks_av-9ee53a49860e91c2b012883eef09d669a7829e06.tar.gz frameworks_av-9ee53a49860e91c2b012883eef09d669a7829e06.tar.bz2 |
MediaRecorder: pass capture fps in float
bug: 19460202
Change-Id: Ic8f2dc02dfd482c4b2065b16e28721fc6e3cf696
Diffstat (limited to 'media/libmediaplayerservice/StagefrightRecorder.h')
-rw-r--r-- | media/libmediaplayerservice/StagefrightRecorder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/StagefrightRecorder.h b/media/libmediaplayerservice/StagefrightRecorder.h index b5a49d3..f34c229 100644 --- a/media/libmediaplayerservice/StagefrightRecorder.h +++ b/media/libmediaplayerservice/StagefrightRecorder.h @@ -109,6 +109,7 @@ private: int32_t mTotalBitRate; bool mCaptureTimeLapse; + float mCaptureFps; int64_t mTimeBetweenTimeLapseFrameCaptureUs; sp<CameraSourceTimeLapse> mCameraSourceTimeLapse; @@ -155,7 +156,7 @@ private: status_t setParamAudioSamplingRate(int32_t sampleRate); status_t setParamAudioTimeScale(int32_t timeScale); status_t setParamTimeLapseEnable(int32_t timeLapseEnable); - status_t setParamTimeBetweenTimeLapseFrameCapture(int64_t timeUs); + status_t setParamTimeLapseFps(float fps); status_t setParamVideoEncodingBitRate(int32_t bitRate); status_t setParamVideoIFramesInterval(int32_t seconds); status_t setParamVideoEncoderProfile(int32_t profile); |