summaryrefslogtreecommitdiff
path: root/softhddev.c
diff options
context:
space:
mode:
Diffstat (limited to 'softhddev.c')
-rw-r--r--softhddev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/softhddev.c b/softhddev.c
index d2412ae..6de211c 100644
--- a/softhddev.c
+++ b/softhddev.c
@@ -1630,7 +1630,7 @@ int PlayVideo(const uint8_t * data, int size)
return size;
}
// buffer full: needed for replay
- if (atomic_read(&VideoPacketsFilled) >= VIDEO_PACKET_MAX - 1) {
+ if (atomic_read(&VideoPacketsFilled) >= VIDEO_PACKET_MAX - 3) {
return 0;
}
// get pts/dts