summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Reufer <thomas@reufer.ch>2015-04-03 09:11:25 +0200
committerThomas Reufer <thomas@reufer.ch>2015-04-03 09:11:25 +0200
commite92e12c80b4263166c60f0306f596fd0c6d59e90 (patch)
treeb3c1d8e9d66302589a7355a7c746aac929e1e947
parent2489f02be75dc364326aaa587099c0d6a428d406 (diff)
downloadvdr-plugin-rpihddevice-e92e12c80b4263166c60f0306f596fd0c6d59e90.tar.gz
vdr-plugin-rpihddevice-e92e12c80b4263166c60f0306f596fd0c6d59e90.tar.bz2
avoid double flushing of audio render
-rw-r--r--omxdevice.c4
1 files changed, 1 insertions, 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);
}