summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Reufer <thomas@reufer.ch>2016-04-20 11:26:25 (GMT)
committerThomas Reufer <thomas@reufer.ch>2016-04-20 11:45:43 (GMT)
commit9baf415358dcd7c3992048625303b11166857cc5 (patch)
tree77f12a318f1876034b0815185413bfd63a698b3f
parent38c5b2e16b2a6ac5c6d696ca3e91384da9944662 (diff)
downloadvdr-plugin-rpihddevice-next.tar.gz
vdr-plugin-rpihddevice-next.tar.bz2
don't ignore audio frames for slow trick speeds to keep clock in syncnext
-rw-r--r--HISTORY2
-rw-r--r--omxdevice.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 3aa996a..d6ed9ef 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9,6 +9,8 @@ VDR Plugin 'rpihddevice' Revision History
- implement omx event handler and get rid of omx callbacks
- use PatPmtParser to determine video codec
- decouple audio and video specific functions from cOmx class
+- fixed:
+ - don't ignore audio frames for slow trick speeds to keep clock in sync
2016-04-04: Version 1.0.2
-------------------------
diff --git a/omxdevice.c b/omxdevice.c
index debd0a8..52f90fc 100644
--- a/omxdevice.c
+++ b/omxdevice.c
@@ -258,8 +258,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;