xbmc/xbmc — pull request #4638 by FernetMenta (2014-05-03 06:01:54+00:00)
Title: VDPAU: improve error handling (ffmpeg 2.2)

With ffmpeg bump interface to vdpau changed to pure hwaccel which calls actual decoding earlier. In particular when playing live TV it may happen that decoder is called with invalid data. This change allows two errors in a row before decoder resources are cleared down.

Fixes continuous close/reopen of vdpau on corrupted tv streams. @joethefox could you test this with your setup please.