MediaPortal/MediaPortal-1 — comment on commit 576dbe6f73d0339d2cfd6bf904db14716016d8ff
File: DirectShowFilters/TsReader/source/TsReader.cpp line 1211
By tourettes:

Instead of using Sleep() it would be much better to use an event and wait for that to happen.