mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Need extra space in ring buffer for sequence end.
This commit is contained in:
parent
226760490b
commit
1cbaddf75c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user