From e92e12c80b4263166c60f0306f596fd0c6d59e90 Mon Sep 17 00:00:00 2001 From: Thomas Reufer Date: Fri, 3 Apr 2015 09:11:25 +0200 Subject: avoid double flushing of audio render --- omxdevice.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/omxdevice.c b/omxdevice.c index ad9c48d..7ab563b 100644 --- a/omxdevice.c +++ b/omxdevice.c @@ -762,10 +762,8 @@ void cOmxDevice::FlushStreams(bool flushVideoRender) m_omx->FlushVideo(flushVideoRender); if (m_hasAudio) - { m_audio->Reset(); - m_omx->FlushAudio(); - } + m_omx->SetCurrentReferenceTime(0); } -- cgit v1.2.3