From Julen Garcia, "So here is the code with a proper audio sync (at least in my computer)"

This commit is contained in:
Robert Osfield
2009-12-15 11:27:28 +00:00
parent ce2459a539
commit 9d82266032
5 changed files with 37 additions and 28 deletions

View File

@@ -322,7 +322,6 @@ size_t FFmpegDecoderAudio::decodeFrame(void * const buffer, const size_t size)
else if (m_packet.type == FFmpegPacket::PACKET_FLUSH)
{
avcodec_flush_buffers(m_context);
m_clocks.rewindAudio();
}
// just output silence when we reached the end of stream