summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-12-05 14:25:34 -0800
committerJames Dong <jdong@google.com>2010-12-05 16:08:30 -0800
commitea7b485595f8cec6a66668b5c54c8f297d843f77 (patch)
tree05551d3bd3db0b0b971a4dfc5d345ea6e2381267 /include
parent16afe2fb439cab6125bb46a07a8078d4ce1c1ea5 (diff)
downloadframeworks_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.h2
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 &);
};