summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Reufer <thomas@reufer.ch>2014-10-29 17:24:23 +0100
committerThomas Reufer <thomas@reufer.ch>2014-11-14 23:16:13 +0100
commite461dbfd3b70096bc620f29611debe0759ff5173 (patch)
tree9a6241a7f844da787e5cb3a91f221c801bedd8b2
parent4cf6d20b20e4faa5b51bb515ffd2d015d93dc549 (diff)
downloadvdr-plugin-rpihddevice-e461dbfd3b70096bc620f29611debe0759ff5173.tar.gz
vdr-plugin-rpihddevice-e461dbfd3b70096bc620f29611debe0759ff5173.tar.bz2
increased latency target for live mode to 500ms
-rw-r--r--HISTORY1
-rw-r--r--omxdevice.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index dcba2c4..837060b 100644
--- a/HISTORY
+++ b/HISTORY
@@ -12,6 +12,7 @@ VDR Plugin 'rpihddevice' Revision History
- reworked setup parameter handling
- implemented proper command queue for OVG-OSD
- fixed:
+ - increased latency target for live mode to 500ms
- upmix mono audio channels to stereo when using PCM output on HDMI
- skip non-video packets in StillPicture(), fixes artifacts in PES recordings
- skip audio substream header for PES recordings with AC3 audio track
diff --git a/omxdevice.c b/omxdevice.c
index a1664da..27d4036 100644
--- a/omxdevice.c
+++ b/omxdevice.c
@@ -17,8 +17,8 @@
#include <string.h>
-// latency target for transfer mode in PTS ticks (90kHz) -> 200ms
-#define LATENCY_TARGET 18000LL
+// latency target for transfer mode in PTS ticks (90kHz) -> 500ms
+#define LATENCY_TARGET 45000LL
// latency window for validation where closed loop will be active (+/- 4s)
#define LATENCY_WINDOW 360000LL