xbmc/xbmc — pull request #565 by davilla (2011-12-10 20:38:15+00:00)
Title: fixed, refactor adjust refresh rate and let dvdplayer decide how to hand...

...le audio when we unpause.

This replicates existing behavior on Linux/Windows and under OSX it reinits the audio stream to deal with the race between switching video and playing audio. The ifdef TARGET_DARWIN can be removed, I don't see why this should not also be done under Linux/Windows but extensive testing has only been done under OSX.

The main point of this patch is to allow dvdplayer to decide what to do when adjust refresh rate is enabled and the display settings are changed.