xbmc/xbmc — pull request #5808 by arnova (2014-11-25 06:17:26+00:00)
Title: More double cache fixes

This PR fixes 2 remaining issues in our double cache implementation:
1) Average calculation with heavy seeking/cache swapping doesn't work properly when the "other" cache is already (almost) full;
2) We would wait for data although the position was already available in our other cache.