From 1f541487e08b05685270f28059fa494e63b03c47 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 15 Apr 2017 09:55:32 +0200 Subject: cTSBuffer::Skip() no longer immediately deletes the given number of bytes from the TS buffer --- HISTORY | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'HISTORY') diff --git a/HISTORY b/HISTORY index 1c35633e..15793e93 100644 --- a/HISTORY +++ b/HISTORY @@ -8972,3 +8972,9 @@ Video Disk Recorder Revision History plugins that implement a derived cDevice need to call Decrypt() in their GetTSPacket() function even if the incoming buffer is currently empty (see cDvbDevice::GetTSPacket()). +- cTSBuffer::Skip() no longer immediately deletes the given number of bytes from the + TS buffer, but rather stores the number for later deletion in the next call to + Get(). This is necessary because in cDvbDevice::GetTSPacket() tsBuffer->Skip() + is called, but the actual TS packet returned (pointed to by Data) may well be + (and typically is, unless the CAM copies the data) in the area of the buffer that + would be deleted by Skip(). -- cgit v1.2.3