diff options
author | Nipun Kwatra <nkwatra@google.com> | 2010-08-02 14:42:46 -0700 |
---|---|---|
committer | Nipun Kwatra <nkwatra@google.com> | 2010-08-02 14:42:46 -0700 |
commit | f95ce6452d87316b8f5df6692537bd039377f349 (patch) | |
tree | fc1d592d782178318a034d565ef087e74e159614 /media/libmediaplayerservice/StagefrightRecorder.h | |
parent | fd150a8e03cdd8462eafd68f4a4231aa52f0e5a1 (diff) | |
download | frameworks_av-f95ce6452d87316b8f5df6692537bd039377f349.zip frameworks_av-f95ce6452d87316b8f5df6692537bd039377f349.tar.gz frameworks_av-f95ce6452d87316b8f5df6692537bd039377f349.tar.bz2 |
Allowing useStillCameraForTimeLapse to be set through MediaRecorder.java
This will allow apps to make the decision of whether to use still image mode or
video mode for time lapse capture.
- setTimeLapseParameters now takes in a useStillCameraForTimeLapse parameter.
- Added support in StagefrightRecorder for passing through this parameter.
Change-Id: Iafbcb76f9a7903118ea5eb822c81008619630f03
Diffstat (limited to 'media/libmediaplayerservice/StagefrightRecorder.h')
-rw-r--r-- | media/libmediaplayerservice/StagefrightRecorder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/StagefrightRecorder.h b/media/libmediaplayerservice/StagefrightRecorder.h index fc287a2..03f0b61 100644 --- a/media/libmediaplayerservice/StagefrightRecorder.h +++ b/media/libmediaplayerservice/StagefrightRecorder.h @@ -93,6 +93,7 @@ private: int64_t mTrackEveryTimeDurationUs; bool mCaptureTimeLapse; + bool mUseStillCameraForTimeLapse; int64_t mTimeBetweenTimeLapseFrameCaptureUs; String8 mParams; @@ -116,6 +117,7 @@ private: status_t setParamAudioSamplingRate(int32_t sampleRate); status_t setParamAudioTimeScale(int32_t timeScale); status_t setParamTimeLapseEnable(int32_t timeLapseEnable); + status_t setParamUseStillCameraForTimeLapse(int32_t useStillCamera); status_t setParamTimeBetweenTimeLapseFrameCapture(int64_t timeUs); status_t setParamVideoEncodingBitRate(int32_t bitRate); status_t setParamVideoIFramesInterval(int32_t seconds); |