fixed: playback of files with invalid packets in DVDPlayerCodec of paplayer
authoranssih <anssih@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Thu, 26 Aug 2010 22:26:59 +0000 (22:26 +0000)
committeranssih <anssih@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Thu, 26 Aug 2010 22:26:59 +0000 (22:26 +0000)
commit8236fc14e1b0dee9ab19c6620a86c6dc4eb50ca3
treef7ae11315b307b09a8876c8d58b987fcfd6feb7c
parent320ed822eca8818eb2994e8c62c99d234bd5ecb4
fixed: playback of files with invalid packets in DVDPlayerCodec of paplayer

For example, a dts stream may contain garbage in the beginning, or there
may simply be a corrupted packet. dvdplayer codecs assume the caller
retries if necessary, while paplayer codec failures are assumed to be
fatal.

Therefore, retry with the next packet in case of a decoding failure.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33185 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
xbmc/cores/paplayer/DVDPlayerCodec.cpp