xbmc/xbmc — pull request #4383 by Memphiz (2014-03-09 21:59:48+00:00)
Title: [osxsink] - fix deadloop in drain

When cables are unplugged or tv is powered down the device vanishes and we might end up in an endless loop when the Engine tries to drain the sink.

This was confirmed fixing some tv poweroff/cable unplug issues as described here:

http://forum.xbmc.org/showthread.php?tid=185395