History

Remove the timeout parameter from WelsMultipleEventsWaitSingleBlocking

All users of the function passed the value corresponding to "infinite", and the (currently unused) unix implementation of it only supported infinite wait as well.

Martin Storsjö committed 12 years ago

Commit de324551 parent 201ab424 files · +6 −11Browse files

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

Unified · Split

codec/encoder/core/src/slice_multi_threading.cpp+1−2
@@ -749,8 +749,7 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 748 unmodified lines
749749 do {
750750 #ifdef _WIN32
751751 iWaitRet = WelsMultipleEventsWaitSingleBlocking (iEventCount,
752− &pEventsList[0],
753− (uint32_t) - 1); // blocking until at least one event is
752+ &pEventsList[0]); // blocking until at least one event is
754753 #else
755754 MT_TRACE_LOG (pEncPEncCtx, WELS_LOG_INFO,
756755 "[MT] CodingSliceThreadProc(), try to call WelsEventWait(pReadySliceCodingEvent[%d]= 0x%p), pEncPEncCtx= 0x%p!\n",

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