diff options
author | James Dong <jdong@google.com> | 2010-12-05 14:25:34 -0800 |
---|---|---|
committer | James Dong <jdong@google.com> | 2010-12-05 16:08:30 -0800 |
commit | ea7b485595f8cec6a66668b5c54c8f297d843f77 (patch) | |
tree | 05551d3bd3db0b0b971a4dfc5d345ea6e2381267 /include | |
parent | 16afe2fb439cab6125bb46a07a8078d4ce1c1ea5 (diff) | |
download | frameworks_av-ea7b485595f8cec6a66668b5c54c8f297d843f77.zip frameworks_av-ea7b485595f8cec6a66668b5c54c8f297d843f77.tar.gz frameworks_av-ea7b485595f8cec6a66668b5c54c8f297d843f77.tar.bz2 |
Remove check if the target video resolution is not supported by CameraSource
and clean up Camera is CameraSource could not created.
bug - 3254411
Change-Id: I43497c450e7007de5ce027e2912b1421119e8887
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/CameraSource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/stagefright/CameraSource.h b/include/media/stagefright/CameraSource.h index e6c9f93..794355b 100644 --- a/include/media/stagefright/CameraSource.h +++ b/include/media/stagefright/CameraSource.h @@ -215,6 +215,8 @@ private: status_t checkFrameRate(const CameraParameters& params, int32_t frameRate); + void releaseCamera(); + CameraSource(const CameraSource &); CameraSource &operator=(const CameraSource &); }; |