Thread priority playback.exe

Hello,

I have a real time thread with high priority (CeSetThreadPriority(GetCurrentThread(),50)) that should be activated every 10ms. This works quite fine except I am watching a movie (wmv) with playback.exe (Video Playback (WinCE))
Then quite often my real time thread starts not every 10ms but is delayed by 5 or 6 ms.

There is no difference whether the film is on \temp or on \flashdisk.
I have tried to lower priority of playback.exe but this did not help. So I assume the problem is somewhere deeper in decoding wmv.

Any ideas welcome.

Kind regards

Hi @amota,

It’s possible that some of the multimedia codecs needed for the video playback run with a priority higher priority than you set in your thread.
Can you try to set your thread priority to 10 or even 1 just to make sure?

Hello,

I just tried: Situation does not change if I set priority to 10 or 1.

Kind regards