summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Reufer <thomas@reufer.ch>2016-04-20 13:26:25 +0200
committerThomas Reufer <thomas@reufer.ch>2016-04-23 10:58:16 +0200
commit50691fe22f264e06c921f6acb7cb0cd346f7ba88 (patch)
tree98f5393869720b730b37ddbfce7069b3f32f41a1
parentd11594395dbaf6c423eddd9b9bcbad505e207e3c (diff)
downloadvdr-plugin-rpihddevice-50691fe22f264e06c921f6acb7cb0cd346f7ba88.tar.gz
vdr-plugin-rpihddevice-50691fe22f264e06c921f6acb7cb0cd346f7ba88.tar.bz2
don't ignore audio frames for slow trick speeds to keep clock in sync
-rw-r--r--HISTORY5
-rw-r--r--omxdevice.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index cb7911b..08b730c 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,11 @@
VDR Plugin 'rpihddevice' Revision History
-----------------------------------------
+2016-04-23: Version 1.0.3
+-------------------------
+- fixed:
+ - don't ignore audio frames for slow trick speeds to keep clock in sync
+
2016-04-04: Version 1.0.2
-------------------------
- fixed:
diff --git a/omxdevice.c b/omxdevice.c
index 0a2c200..c9c2255 100644
--- a/omxdevice.c
+++ b/omxdevice.c
@@ -260,8 +260,8 @@ void cOmxDevice::StillPicture(const uchar *Data, int Length)
int cOmxDevice::PlayAudio(const uchar *Data, int Length, uchar Id)
{
- // ignore audio packets during trick speeds for non-radio recordings
- if (m_playbackSpeed != eNormal && m_playMode != pmAudioOnly)
+ // ignore audio packets during fast trick speeds for non-radio recordings
+ if (m_playbackSpeed > eNormal && m_playMode != pmAudioOnly)
{
DLOG("audio packet ignored!");
return Length;