summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;