Skip to content

Commit

Permalink
AE: avoid feeding silence sample in raw non-iec sinks
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Jan 21, 2016
1 parent a010cf3 commit 07bf4ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAESink.cpp
Expand Up @@ -982,7 +982,7 @@ unsigned int CActiveAESink::OutputSamples(CSampleBuffer* samples)
totalFrames = size / m_sinkFormat.m_frameSize;
frames = totalFrames;
}
if (samples->pkt->pause_burst_ms > 0)
if (samples->pkt->pause_burst_ms > 0 && samples->pool)
{
m_sink->AddPause(samples->pkt->pause_burst_ms);
m_sink->GetDelay(status);
Expand Down

1 comment on commit 07bf4ac

@fritsch
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks my nice AddPause functionality.

Please sign in to comment.