xbmc/xbmc — pull request #1160 by cptspiff (2012-07-14 22:16:56+00:00)
Title: [PAPlayer] Fix locking issues

Much better performance now - no more hammering stream locks. Also fixes bad sleep logic where it slept less when buffer was more full lol

extracted from https://github.com/xbmc/xbmc/pull/1074