equal
deleted
inserted
replaced
299 aOmxCommand, |
299 aOmxCommand, |
300 aOmxPortIndex, |
300 aOmxPortIndex, |
301 0); |
301 0); |
302 |
302 |
303 } |
303 } |
304 |
|
305 #ifdef _OMXIL_COMMON_IL516C_ON |
|
306 OMX_ERRORTYPE |
|
307 COmxILCallbackManager::EjectBuffersRequest(OMX_U32 aLocalOmxPortIndex) |
|
308 { |
|
309 DEBUG_PRINTF2(_L8("COmxILCallbackManager::EjectBuffersRequest : aLocalOmxPortIndex [%u]"), aLocalOmxPortIndex); |
|
310 |
|
311 CEjectBuffersRequestCommand* pEjectCBack = |
|
312 new CEjectBuffersRequestCommand(aLocalOmxPortIndex); |
|
313 if (!pEjectCBack || (iCommandQueue.Send(pEjectCBack) != KErrNone)) |
|
314 { |
|
315 delete pEjectCBack; |
|
316 HandleInsufficientResources(); |
|
317 } |
|
318 |
|
319 return OMX_ErrorNone; |
|
320 |
|
321 } |
|
322 #endif |
|
323 |
304 |
324 OMX_ERRORTYPE |
305 OMX_ERRORTYPE |
325 COmxILCallbackManager::ErrorEventNotification(OMX_ERRORTYPE aOmxError) |
306 COmxILCallbackManager::ErrorEventNotification(OMX_ERRORTYPE aOmxError) |
326 { |
307 { |
327 DEBUG_PRINTF2(_L8("COmxILCallbackManager::ErrorEventNotification : aOmxError[%X] "), aOmxError); |
308 DEBUG_PRINTF2(_L8("COmxILCallbackManager::ErrorEventNotification : aOmxError[%X] "), aOmxError); |
1061 { |
1042 { |
1062 aCbMgr.HandleInsufficientResources(); |
1043 aCbMgr.HandleInsufficientResources(); |
1063 } |
1044 } |
1064 |
1045 |
1065 } |
1046 } |
1066 |
|
1067 #ifdef _OMXIL_COMMON_IL516C_ON |
|
1068 void |
|
1069 COmxILCallbackManager::CEjectBuffersRequestCommand::operator()( |
|
1070 COmxILCallbackManager& aCbMgr, TBool& /* aHasBeenDeferred */) |
|
1071 { |
|
1072 DEBUG_PRINTF3(_L8("CEjectBuffersRequestCommand::operator() : Handle[%X], iLocalOmxPortIndex=[%u]"), |
|
1073 aCbMgr.ipHandle, iLocalOmxPortIndex); |
|
1074 |
|
1075 OMX_ERRORTYPE omxError = |
|
1076 aCbMgr.DoEjectBuffersRequest(iLocalOmxPortIndex); |
|
1077 |
|
1078 if (OMX_ErrorInsufficientResources == omxError) |
|
1079 { |
|
1080 aCbMgr.HandleInsufficientResources(); |
|
1081 } |
|
1082 |
|
1083 } |
|
1084 #endif //_OMXIL_COMMON_IL516C_ON |
|