Skip to content

Commit

Permalink
Merge pull request xbmc#7860 from koying/fixamlffrwJ
Browse files Browse the repository at this point in the history
FIX: [aml] stuck when doing ff or rw
  • Loading branch information
MartijnKaijser committed Aug 21, 2015
2 parents cdb3fa7 + 4f39f15 commit ab27f08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp
Expand Up @@ -1867,7 +1867,9 @@ int CAMLCodec::Decode(uint8_t *pData, size_t iSize, double dts, double pts)
if (m_old_pictcnt == m_cur_pictcnt)
m_ready_event.WaitMSec(25);

int rtn = 0;
// we must return VC_BUFFER or VC_PICTURE,
// default to VC_BUFFER.
int rtn = VC_BUFFER;
if (m_old_pictcnt != m_cur_pictcnt)
{
m_old_pictcnt++;
Expand Down

0 comments on commit ab27f08

Please sign in to comment.