Skip to content

Commit

Permalink
Merge pull request #4801 from FernetMenta/pause
Browse files Browse the repository at this point in the history
ActiveAE: stop processing passthrough packets for paused streams, fixes ...
  • Loading branch information
jmarshallnz committed May 28, 2014
2 parents 15a2897 + 4a68bdf commit f6db665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
Expand Up @@ -1973,7 +1973,7 @@ bool CActiveAE::RunStages()
CSampleBuffer *buffer;
for (it = m_streams.begin(); it != m_streams.end(); ++it)
{
if (!(*it)->m_resampleBuffers->m_outputSamples.empty())
if (!(*it)->m_resampleBuffers->m_outputSamples.empty() && !(*it)->m_paused)
{
buffer = (*it)->m_resampleBuffers->m_outputSamples.front();
(*it)->m_resampleBuffers->m_outputSamples.pop_front();
Expand Down

0 comments on commit f6db665

Please sign in to comment.