diff options
| author | Thomas Reufer <thomas@reufer.ch> | 2015-04-29 16:44:15 +0200 |
|---|---|---|
| committer | Thomas Reufer <thomas@reufer.ch> | 2015-04-29 16:44:15 +0200 |
| commit | 50ed2da29a0966bcdca8d22e443fa7a03a8a1ede (patch) | |
| tree | 7228a10e7e9a62537a17b81a7a2f4b41c8a46649 | |
| parent | 46adbf85ba8cc892b9413f9a2e4b3ebff34f132a (diff) | |
| download | vdr-plugin-rpihddevice-50ed2da29a0966bcdca8d22e443fa7a03a8a1ede.tar.gz vdr-plugin-rpihddevice-50ed2da29a0966bcdca8d22e443fa7a03a8a1ede.tar.bz2 | |
do proper stream restart after buffer stall
| -rw-r--r-- | omxdevice.c | 4 |
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(); } |
