diff options
author | James Dong <jdong@google.com> | 2010-05-13 12:07:32 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2010-05-13 12:08:29 -0700 |
commit | e292b3bc9c28e47bb8411728ad40efb84d0471e8 (patch) | |
tree | cb51804b07a1e1744a6ecf7a8313f05406303348 /include | |
parent | fae47fd008974fb78f38ae4a6d539cd8246d3159 (diff) | |
download | frameworks_base-e292b3bc9c28e47bb8411728ad40efb84d0471e8.zip frameworks_base-e292b3bc9c28e47bb8411728ad40efb84d0471e8.tar.gz frameworks_base-e292b3bc9c28e47bb8411728ad40efb84d0471e8.tar.bz2 |
Remove dummy surface in CameraSource
bug - 2680919
Change-Id: Ia0308cf57fd67058b4dd0e042b3ce97f13df475f
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/CameraSource.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/media/stagefright/CameraSource.h b/include/media/stagefright/CameraSource.h index 3afa598..42d6634 100644 --- a/include/media/stagefright/CameraSource.h +++ b/include/media/stagefright/CameraSource.h @@ -28,7 +28,6 @@ namespace android { class ICamera; class IMemory; -class ISurface; class Camera; class CameraSource : public MediaSource { @@ -38,8 +37,6 @@ public: virtual ~CameraSource(); - void setPreviewSurface(const sp<ISurface> &surface); - virtual status_t start(MetaData *params = NULL); virtual status_t stop(); @@ -52,7 +49,6 @@ private: friend class CameraSourceListener; sp<Camera> mCamera; - sp<ISurface> mPreviewSurface; Mutex mLock; Condition mFrameAvailableCondition; |