summaryrefslogtreecommitdiffstats
path: root/camera/BaseCameraAdapter.cpp
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2011-11-17 11:39:33 -0800
committerIliyan Malchev <malchev@google.com>2011-11-17 11:45:46 -0800
commite46394481e771dbdc8683645c3740a3d262a3d0f (patch)
tree8776f679e0ddfa49cf3151fee9e4fec61cc74c3c /camera/BaseCameraAdapter.cpp
parent78dac813ae2c442dd0669db208abd3720d0ea6c4 (diff)
downloadhardware_ti_omap4xxx-e46394481e771dbdc8683645c3740a3d262a3d0f.tar.gz
hardware_ti_omap4xxx-e46394481e771dbdc8683645c3740a3d262a3d0f.tar.bz2
hardware_ti_omap4xxx-e46394481e771dbdc8683645c3740a3d262a3d0f.zip
CameraHAL: clean up logs
-- introduce CAMHAL_LOGI so that we don't have to dump informational messages as LOGE -- convert some verbose messages to CAMHAL_LOGDB -- convert most frequent non-error log messages to CAMHAL_LOGI Change-Id: I8afc24aa17da2c157b7b37300a79b4cde81f87e5 Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'camera/BaseCameraAdapter.cpp')
-rw-r--r--camera/BaseCameraAdapter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/camera/BaseCameraAdapter.cpp b/camera/BaseCameraAdapter.cpp
index d95fdc3..882e4df 100644
--- a/camera/BaseCameraAdapter.cpp
+++ b/camera/BaseCameraAdapter.cpp
@@ -299,7 +299,7 @@ void BaseCameraAdapter::returnFrame(void* frameBuf, CameraFrame::FrameType frame
}
else
{
- CAMHAL_LOGEA("Frame returned when ref count is already zero!!");
+ CAMHAL_LOGDA("Frame returned when ref count is already zero!!");
return;
}
}
@@ -1220,7 +1220,7 @@ status_t BaseCameraAdapter::__sendFrameToSubscribers(CameraFrame* frame,
frame->mYuv[1] = lframe->mYuv[1];
}
else{
- CAMHAL_LOGEA("Empty Frame Queue");
+ CAMHAL_LOGDA("Empty Frame Queue");
return -EINVAL;
}
}