History

trace fix

ruil2 committed 12 years ago

Commit fa138e81 parent 0f4499114 files · +202 −200Browse files

Showing the changes to codec/encoder/core/src/slice_multi_threading.cpp (1 of 14 files). Show all

Unified · Split

codec/encoder/core/src/slice_multi_threading.cpp+2−2
@@ -940,7 +940,7 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 939 unmodified lines
940940 WelsEventSignal (
941941 &pEncPEncCtx->pSliceThreading->pFinUpdateMbListEvent[iEventIdx]); // mean finished update pMb list for this pSlice
942942 } else { // WELS_THREAD_ERROR_WAIT_TIMEOUT, or WELS_THREAD_ERROR_WAIT_FAILED
943− WelsLog (pEncPEncCtx, WELS_LOG_WARNING,
943+ WelsLog (&(pEncPEncCtx->sLogCtx), WELS_LOG_WARNING,
944944 "[MT] CodingSliceThreadProc(), waiting pReadySliceCodingEvent[%d] failed(%d) and thread%d terminated!\n", iEventIdx,
945945 iWaitRet, iThreadIdx);
946946 uiThrdRet = 1;
@@ -978,7 +978,7 @@ int32_t FiredSliceThreads (sWelsEncCtx* pCtx, SSliceThreadPrivateData* pPriData, · 31 unmodified lines
978978 const int32_t kiEventCnt = uiNumThreads;
979979
980980 if (pPriData == NULL || pLbi == NULL || kiEventCnt <= 0 || pEventsList == NULL) {
981− WelsLog (pCtx, WELS_LOG_ERROR,
981+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_ERROR,
982982 "FiredSliceThreads(), fail due pPriData == %p || pLbi == %p || iEventCnt(%d) <= 0 || pEventsList == %p!!\n",
983983 (void*)pPriData, (void*)pLbi, uiNumThreads, (void*)pEventsList);
984984 return 1;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t