summaryrefslogtreecommitdiffstats
path: root/domx/omx_proxy_component/omx_camera
diff options
context:
space:
mode:
authorSundar Raman <sunds@ti.com>2011-08-29 16:30:34 -0700
committerIliyan Malchev <malchev@google.com>2011-08-30 09:36:21 -0700
commit73bfc819486d5f632fd113996e6ecdbd647d2085 (patch)
tree753ffd2dfaf93ad2149d951d52ed65612f222da5 /domx/omx_proxy_component/omx_camera
parent5950d86f5e3d119cb024ae3989a643571dd81794 (diff)
downloadhardware_ti_omap4xxx-73bfc819486d5f632fd113996e6ecdbd647d2085.zip
hardware_ti_omap4xxx-73bfc819486d5f632fd113996e6ecdbd647d2085.tar.gz
hardware_ti_omap4xxx-73bfc819486d5f632fd113996e6ecdbd647d2085.tar.bz2
Remove some non fatal error logs in Camera use-case
Change-Id: I3d0f40b68c2337e67271784c544db8979dcc0358 Signed-off-by: Sundar Raman <sunds@ti.com>
Diffstat (limited to 'domx/omx_proxy_component/omx_camera')
-rwxr-xr-xdomx/omx_proxy_component/omx_camera/src/omx_proxy_camera.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/domx/omx_proxy_component/omx_camera/src/omx_proxy_camera.c b/domx/omx_proxy_component/omx_camera/src/omx_proxy_camera.c
index b29c5f4..db138ec 100755
--- a/domx/omx_proxy_component/omx_camera/src/omx_proxy_camera.c
+++ b/domx/omx_proxy_component/omx_camera/src/omx_proxy_camera.c
@@ -415,8 +415,11 @@ OMX_ERRORTYPE DCC_Init(OMX_HANDLETYPE hComponent)
dccbuf_size = read_DCCdir(NULL, dcc_dir, nIndex);
- PROXY_assert(dccbuf_size > 0, OMX_ErrorInsufficientResources,
- "No DCC files found, switching back to default DCC");
+ if(dccbuf_size <= 0)
+ {
+ DOMX_DEBUG("No DCC files found, switching back to default DCC");
+ return OMX_ErrorInsufficientResources;
+ }
MemReqDescTiler =
(MemAllocBlock *) TIMM_OSAL_Malloc((sizeof(MemAllocBlock) * 2),