diff options
author | davilla <davilla@4pi.com> | 2012-06-13 13:24:44 -0400 |
---|---|---|
committer | davilla <davilla@4pi.com> | 2012-06-13 13:25:05 -0400 |
commit | ee081f2db2f4a96b90efb2e75a462a6501130eca (patch) | |
tree | a2f24333a267cf5b4e1bc1442ccf46bd9f7cf7f7 | |
parent | a5ce6b6e7d86413a64cdaea8e6c625115ec7a03b (diff) |
[osx/ios] fixed video playback, reduce timeout
-rw-r--r-- | xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEStream.cpp b/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEStream.cpp index a5bcbe3692..e1f5810680 100644 --- a/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEStream.cpp +++ b/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioAEStream.cpp @@ -413,7 +413,7 @@ unsigned int CCoreAudioAEStream::AddData(void *data, unsigned int size) unsigned int total_ms_sleep = 0; unsigned int room = m_Buffer->GetWriteSize(); - while (addsize > room && !m_paused && total_ms_sleep < 2000) + while (addsize > room && !m_paused && total_ms_sleep < 200) { // we got deleted if (!m_valid || !m_Buffer || m_draining ) |