xbmc/xbmc — pull request #1196 by classicspam (2012-07-22 10:34:51+00:00)
Title: Cachemembuffer Feature Addon and  AudioEngine Bugfix

The 2 commits represent a feature addon and a bugfix as described below:

1. Add a variable in advanced settings to allow users to increase read rate of dvdplayer as multiple of average bitrate for faster buffer filling (i.e. if user uses 3 as the multiple the buffer will be filled at 3X average bitrate until the buffer is filled and then will refill the buffer as it is being used at up to 3X average bitrate) (commit 01b49792bf15b501a4347d4a7293ca72f46ba320)

2. Bug Fix: I found that if the buffer reaches 0 the FPS will drop to like 3 or 4 and stay that way even if data is added to the buffer until the video is stopped and restarted. This was caused by Audio engine being stuck in in a drain state. (commit aa4204607fc483ab80700209a9838c04fbbd62b3)

Please Note: The variable "cachemembufferthrottlemultiplier" will need to be added to the advanced setting wiki. It should be placed in network section under cachemembuffer like so:

1