diff options
Diffstat (limited to 'omx/audio/src/openmax_il/wbamr_enc/src/OMX_WbAmrEnc_Utils.c')
-rw-r--r-- | omx/audio/src/openmax_il/wbamr_enc/src/OMX_WbAmrEnc_Utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/omx/audio/src/openmax_il/wbamr_enc/src/OMX_WbAmrEnc_Utils.c b/omx/audio/src/openmax_il/wbamr_enc/src/OMX_WbAmrEnc_Utils.c index 8713be8..9848241 100644 --- a/omx/audio/src/openmax_il/wbamr_enc/src/OMX_WbAmrEnc_Utils.c +++ b/omx/audio/src/openmax_il/wbamr_enc/src/OMX_WbAmrEnc_Utils.c @@ -3426,6 +3426,8 @@ OMX_ERRORTYPE AddStateTransition(WBAMRENC_COMPONENT_PRIVATE* pComponentPrivate) /* Increment state change request reference count */ pComponentPrivate->nPendingStateChangeRequests++; + LOGI("addstatetranstion: %ld @ %d", pComponentPrivate->nPendingStateChangeRequests, pComponentPrivate->curState); + if(pthread_mutex_unlock(&pComponentPrivate->mutexStateChangeRequest)) { return OMX_ErrorUndefined; } @@ -3443,6 +3445,7 @@ OMX_ERRORTYPE RemoveStateTransition(WBAMRENC_COMPONENT_PRIVATE* pComponentPrivat pComponentPrivate->nPendingStateChangeRequests--; + LOGI("removestatetranstion: %ld @ %d", pComponentPrivate->nPendingStateChangeRequests, pComponentPrivate->curState); /* If there are no more pending requests, signal the thread waiting on this*/ if(!pComponentPrivate->nPendingStateChangeRequests && bEnableSignal) { pthread_cond_signal(&(pComponentPrivate->StateChangeCondition)); |