compare media time to actual time slept (fixes #662)