summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-06-03 11:48:31 -0700
committerJames Dong <jdong@google.com>2010-06-03 11:51:39 -0700
commitc2f328d0d2821e402823d6e17589da2849b67d0d (patch)
tree8d2297a4948222dcb06974a171323a966c266046 /include/media
parentca583f0966f891efda4710074c15795d99b9d9ba (diff)
downloadframeworks_base-c2f328d0d2821e402823d6e17589da2849b67d0d.zip
frameworks_base-c2f328d0d2821e402823d6e17589da2849b67d0d.tar.gz
frameworks_base-c2f328d0d2821e402823d6e17589da2849b67d0d.tar.bz2
Remove hard-coded pixel format for recording frames in CameraSource.
Retrieve the pixel format from Camera HAL at runtime. Change-Id: I63f820f54c59c2019dfd195320b9928da3362536
Diffstat (limited to 'include/media')
-rw-r--r--include/media/stagefright/CameraSource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/CameraSource.h b/include/media/stagefright/CameraSource.h
index 0c7bf6f..0a7023a 100644
--- a/include/media/stagefright/CameraSource.h
+++ b/include/media/stagefright/CameraSource.h
@@ -51,6 +51,7 @@ private:
friend class CameraSourceListener;
sp<Camera> mCamera;
+ sp<MetaData> mMeta;
Mutex mLock;
Condition mFrameAvailableCondition;
@@ -59,7 +60,6 @@ private:
List<sp<IMemory> > mFramesBeingEncoded;
List<int64_t> mFrameTimes;
- int mWidth, mHeight;
int64_t mFirstFrameTimeUs;
int64_t mLastFrameTimestampUs;
int32_t mNumFramesReceived;