i'm using vista, not sure if this bug exist in XP or even older Windows versions tried add a call to: SetThreadExecutionState(ES_CONTINUOUS | ES_DISPLAY_REQUIRED | ES_SYSTEM_REQUIRED); // according to http://msdn2.microsoft.com/en-us/library/aa373208.aspx in vo_init(), the problem is gone