summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/CameraSource.h
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
commit653252be963c07c99109d20f942d1f30c52a9360 (patch)
tree6d5fb73f2aa6a51c60320bfd59b4081b2616dd7e /include/media/stagefright/CameraSource.h
parentc282e3eee921453fc9188705b4879d6289b71f9c (diff)
downloadframeworks_av-653252be963c07c99109d20f942d1f30c52a9360.zip
frameworks_av-653252be963c07c99109d20f942d1f30c52a9360.tar.gz
frameworks_av-653252be963c07c99109d20f942d1f30c52a9360.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/stagefright/CameraSource.h')
-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;