diff options
author | Chris "Koying" Browet <cbro@semperpax.com> | 2015-08-21 18:09:46 +0200 |
---|---|---|
committer | Chris "Koying" Browet <cbro@semperpax.com> | 2015-08-21 18:25:27 +0200 |
commit | c34028e6af638f614623874d5fceb111f94a77fa (patch) | |
tree | ec97bc78709581f852ee07a9aef51f595ea1849f | |
parent | fd71a46049cf42a88ebd822eb89931708f2ab428 (diff) |
Revert "[aml] - fix draining message queue"
This breaks ff/rw/seek
-rw-r--r-- | xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp index 450b4a9dac..0503becd7c 100644 --- a/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp +++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp @@ -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++; |