summaryrefslogtreecommitdiffstats
path: root/camera
diff options
context:
space:
mode:
authorTyler Luu <tluu@ti.com>2012-08-08 19:39:14 -0500
committerDaniel Levin <dendy@ti.com>2012-11-26 20:05:28 +0200
commit424bfb8933b51af2f716ed273a82b56a395d1b21 (patch)
treed9cf0580861a47062b691f5351a8fab9e58854a8 /camera
parent9ae398dd6d457c510173a8112eb0aa4d85c0710e (diff)
downloadhardware_ti_omap4-424bfb8933b51af2f716ed273a82b56a395d1b21.zip
hardware_ti_omap4-424bfb8933b51af2f716ed273a82b56a395d1b21.tar.gz
hardware_ti_omap4-424bfb8933b51af2f716ed273a82b56a395d1b21.tar.bz2
CameraHal: Image size query in initialized state
- Do not allow image buffer size query while in initialized state. OMXCameraAdapter doesn't support this... Change-Id: Id66ce67f5cb3667ce883c0ebbd482e958146be08 Signed-off-by: Tyler Luu <tluu@ti.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
Diffstat (limited to 'camera')
-rw-r--r--camera/BaseCameraAdapter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/camera/BaseCameraAdapter.cpp b/camera/BaseCameraAdapter.cpp
index 4e315b6..06ab313 100644
--- a/camera/BaseCameraAdapter.cpp
+++ b/camera/BaseCameraAdapter.cpp
@@ -1907,7 +1907,6 @@ status_t BaseCameraAdapter::setState(CameraCommands operation)
//These events don't change the current state
case CAMERA_QUERY_RESOLUTION_PREVIEW:
- case CAMERA_QUERY_BUFFER_SIZE_IMAGE_CAPTURE:
case CAMERA_QUERY_BUFFER_SIZE_PREVIEW_DATA:
CAMHAL_LOGDB("Adapter state switch INTIALIZED_STATE->INTIALIZED_STATE event = %s",
printState);