xbmc/xbmc — pull request #4842 by elupus (2014-06-01 23:31:16+00:00)
Title: Clocks

This improves clock precision of the video reference clock on windows dsound and AE GetDelay() calculations.

Sinks should be updated to new API and drop old GetDelay() functions. This allow them to calculate delay as part of AddPacket when delay is properly known and timestamp this information.

The timestamp should also likely be provided out from the GetDelay() function to players so it can adjust for some of the scheduling errors.