diff --git a/osal/alcore/OSAL.c b/osal/alcore/OSAL.c index bd37619..4be98f8 100644 --- a/osal/alcore/OSAL.c +++ b/osal/alcore/OSAL.c @@ -58,6 +58,11 @@ #include "CC_socket.h" #include "ion.h" +#if defined(ANDROID) || defined(LOGCAT) +#define LOG_TAG "MV_OSAL" +#include +#endif + #ifdef ENABLE_SYSMON extern HRESULT MV_MON_Init(); @@ -169,9 +174,11 @@ HRESULT MV_OSAL_Init() if (res != S_OK) goto init_exit; - res = MV_MBUF_Init(); + ALOGD("MV_OSAL_Init ignore MBUF_Init"); +/* res = MV_MBUF_Init(); if (res != S_OK) goto init_exit; +*/ init_exit: pthread_mutex_unlock(&osal_init_mutex); return res; @@ -227,7 +234,8 @@ HRESULT MV_OSAL_Exit() ion_release(); - MV_MBUF_Exit(); + ALOGD("MV_OSAL_Exit ignore MBUF_Exit"); +// MV_MBUF_Exit(); res = MV_Time_Exit(); if (res != S_OK)