Skip to content

Commit

Permalink
correct scheduler timeout setting
Browse files Browse the repository at this point in the history
Timeout number (in milliseconds) should not be multiplied by 1000.
  • Loading branch information
MicroYY authored and gfxVPLsdm committed Dec 24, 2024
1 parent 6ff9d68 commit ed6ac53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ mfxStatus mfxSchedulerCore::Synchronize(mfxTaskHandle handle, mfxU32 timeToWait)

mfxStatus task_sts = MFX_ERR_NONE;

mfx::TimerMs<mfxU64> timer((mfxU64)timeToWait * 1000);
mfx::TimerMs<mfxU64> timer((mfxU64)timeToWait);

while (MFX_WRN_IN_EXECUTION == pTask->opRes)
{
Expand Down

0 comments on commit ed6ac53

Please sign in to comment.