xbmc/xbmc — pull request #727 by FernetMenta (2012-02-25 14:05:24+00:00)
Title: player: fix converge count in order to not lose a key frame after flush,...

Switching refresh rate causes that the first few seconds get lost on some videos. The reason is that ffmpeg needs a key frame to get started and the too small converge count does not keep the last one.
This code originally done by TheSwissKnife fixes it.