Skip to content

Commit

Permalink
TODO fix synchronization with VideoPlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
AchimTuran authored and popcornmix committed Jun 11, 2016
1 parent 7d8c77f commit eeeb922
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEBuffer.cpp
Expand Up @@ -436,9 +436,10 @@ bool CActiveAEBufferPoolResample::ResampleBuffers(int64_t timestamp)
if (!m_dspSample)
m_dspSample = m_dspBuffer->GetFreeBuffer();

m_dspSample->timestamp = in->timestamp;
m_dspSample->pkt_start_offset = in->pkt_start_offset;
if (m_dspSample && m_processor->Process(in, m_dspSample))
{
m_dspSample->timestamp = in->timestamp;
in->Return();
in = m_dspSample;
m_dspSample = NULL;
Expand Down

0 comments on commit eeeb922

Please sign in to comment.