diff options
author | elupus <elupus@svn> | 2009-12-20 15:03:05 +0000 |
---|---|---|
committer | elupus <elupus@svn> | 2009-12-20 15:03:05 +0000 |
commit | cd9650d06946f72d97a4268b000ac853a107b521 (patch) | |
tree | a7d3451af9fcc392e59507df592d7c9c523ee803 | |
parent | 7506321083e178d04cc7e43e09a5355f3c6cf124 (diff) |
fixed: audio player should not drop frames just cause we are paused
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@25878 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r-- | xbmc/cores/dvdplayer/DVDPlayerAudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/dvdplayer/DVDPlayerAudio.cpp b/xbmc/cores/dvdplayer/DVDPlayerAudio.cpp index 014e2aed8a..27e67e941f 100644 --- a/xbmc/cores/dvdplayer/DVDPlayerAudio.cpp +++ b/xbmc/cores/dvdplayer/DVDPlayerAudio.cpp @@ -482,7 +482,7 @@ void CDVDPlayerAudio::Process() { //Don't let anybody mess with our global variables EnterCriticalSection(&m_critCodecSection); - result = DecodeFrame(audioframe, m_speed != DVD_PLAYSPEED_NORMAL); // blocks if no audio is available, but leaves critical section before doing so + result = DecodeFrame(audioframe, m_speed > DVD_PLAYSPEED_NORMAL || m_speed < 0); // blocks if no audio is available, but leaves critical section before doing so LeaveCriticalSection(&m_critCodecSection); if( result & DECODE_FLAG_ERROR ) |