diff options
author | Chih-Chung Chang <chihchung@google.com> | 2010-05-06 16:36:58 +0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2010-05-10 11:21:14 +0800 |
commit | e25cc656392d8866e163f78b60c7791455d0fb44 (patch) | |
tree | d264b1c05e9edb2851c5ddc21a662617ea1d4ebc /media/libstagefright/CameraSource.cpp | |
parent | a0a126a060b6b9ba51bc99f82ff4d322f779325e (diff) | |
download | frameworks_base-e25cc656392d8866e163f78b60c7791455d0fb44.zip frameworks_base-e25cc656392d8866e163f78b60c7791455d0fb44.tar.gz frameworks_base-e25cc656392d8866e163f78b60c7791455d0fb44.tar.bz2 |
Support multiple cameras in framework.
Change-Id: I081f0fbdca4b633715ea7c3b3d42f8662d27598a
Diffstat (limited to 'media/libstagefright/CameraSource.cpp')
-rw-r--r-- | media/libstagefright/CameraSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/CameraSource.cpp b/media/libstagefright/CameraSource.cpp index b046a9c..038c3b3 100644 --- a/media/libstagefright/CameraSource.cpp +++ b/media/libstagefright/CameraSource.cpp @@ -106,7 +106,7 @@ void CameraSourceListener::postDataTimestamp( // static CameraSource *CameraSource::Create() { - sp<Camera> camera = Camera::connect(); + sp<Camera> camera = Camera::connect(0); if (camera.get() == NULL) { return NULL; |