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/encoder_ext.cpp (1 of 4 files). Show all

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+1−2
@@ -3271,8 +3271,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo * pFbi, const SSou · 3270 unmodified lines
32713271 int32_t iEventId = -1;
32723272
32733273 lwait = WelsMultipleEventsWaitSingleBlocking (iNumThreadsScheduled,
3274− &pCtx->pSliceThreading->pSliceCodedEvent[0],
3275− (uint32_t) -1);
3274+ &pCtx->pSliceThreading->pSliceCodedEvent[0]);
32763275 iEventId = (int32_t) (lwait - WELS_THREAD_ERROR_WAIT_OBJECT_0);
32773276 if (iEventId >= 0 && iEventId < iNumThreadsScheduled) {
32783277 if (iIndexOfSliceToBeCoded < iSliceCount) {

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