summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Reufer <thomas@reufer.ch>2015-04-29 16:44:15 +0200
committerThomas Reufer <thomas@reufer.ch>2015-04-29 16:44:15 +0200
commit50ed2da29a0966bcdca8d22e443fa7a03a8a1ede (patch)
tree7228a10e7e9a62537a17b81a7a2f4b41c8a46649
parent46adbf85ba8cc892b9413f9a2e4b3ebff34f132a (diff)
downloadvdr-plugin-rpihddevice-50ed2da29a0966bcdca8d22e443fa7a03a8a1ede.tar.gz
vdr-plugin-rpihddevice-50ed2da29a0966bcdca8d22e443fa7a03a8a1ede.tar.bz2
do proper stream restart after buffer stall
-rw-r--r--omxdevice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/omxdevice.c b/omxdevice.c
index fb51686..ec11404 100644
--- a/omxdevice.c
+++ b/omxdevice.c
@@ -615,8 +615,8 @@ void cOmxDevice::HandleBufferStall()
m_mutex->Lock();
FlushStreams();
- m_omx->SetClockScale(s_playbackSpeeds[m_direction][m_playbackSpeed]);
- m_omx->StartClock(m_hasVideo, m_hasAudio);
+ m_hasAudio = false;
+ m_hasVideo = false;
m_mutex->Unlock();
}