diff options
author | Thomas Reufer <thomas@reufer.ch> | 2016-04-20 13:26:25 +0200 |
---|---|---|
committer | Thomas Reufer <thomas@reufer.ch> | 2016-04-20 13:45:43 +0200 |
commit | 9baf415358dcd7c3992048625303b11166857cc5 (patch) | |
tree | 77f12a318f1876034b0815185413bfd63a698b3f | |
parent | 38c5b2e16b2a6ac5c6d696ca3e91384da9944662 (diff) | |
download | vdr-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-- | HISTORY | 2 | ||||
-rw-r--r-- | omxdevice.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -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; |