From 155e833a7a5fc3e193691324cf9326da1bc3289a Mon Sep 17 00:00:00 2001 From: Nipun Kwatra Date: Thu, 2 Sep 2010 11:43:15 -0700 Subject: Moving decision to use still camera to CameraSourceTimeLapse CameraSourceTimeLapse now decides whether to use still or video camera automatically. It checks if the passed in size is a valid preview size and if it is, then uses the video camera else uses the still camera. Removed from StagefrightRecorder the support to set parameter useStillCameraForTimeLapse. Change-Id: I71f5b0fc7080ca524792381efe918d22e41a7f36 --- media/libmediaplayerservice/StagefrightRecorder.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'media/libmediaplayerservice/StagefrightRecorder.h') diff --git a/media/libmediaplayerservice/StagefrightRecorder.h b/media/libmediaplayerservice/StagefrightRecorder.h index d50a393..f1dc9e6 100644 --- a/media/libmediaplayerservice/StagefrightRecorder.h +++ b/media/libmediaplayerservice/StagefrightRecorder.h @@ -98,7 +98,6 @@ private: int64_t mTrackEveryTimeDurationUs; bool mCaptureTimeLapse; - bool mUseStillCameraForTimeLapse; int64_t mTimeBetweenTimeLapseFrameCaptureUs; bool mCaptureAuxVideo; sp mCameraSourceSplitter; @@ -138,7 +137,6 @@ 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 setParamAuxVideoHeight(int32_t height); status_t setParamAuxVideoWidth(int32_t width); -- cgit v1.1