1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added a note to cTsToPes regarding the 'payload start' flag for video data

This commit is contained in:
Klaus Schmidinger 2009-05-23 09:53:50 +02:00
parent 2c5faf0b65
commit 02921f8851
2 changed files with 9 additions and 3 deletions

View File

@ -6099,8 +6099,10 @@ Video Disk Recorder Revision History
- EIT events are now only processed if a plausible system time is available, to - EIT events are now only processed if a plausible system time is available, to
avoid wrong handling of PDC descriptors (thanks to Tobias Bratfisch). avoid wrong handling of PDC descriptors (thanks to Tobias Bratfisch).
- Removed unused 'synced' member from cTsToPes (reported by Christoph Haubrich). - Removed unused 'synced' member from cTsToPes (reported by Christoph Haubrich).
- Added a note to cTsToPes about all TS packets having to belong to the same PID - Added a note to cTsToPes about all TS packets having to belong to the same PID,
(suggested by Christoph Haubrich). and that for video data GetPes() may only be called if the next TS packet that
will be given to PutTs() has the "payload start" flag set (suggested by Christoph
Haubrich).
- Added a note about the meaning of PERCENTAGEDELTA in cRingBuffer::UpdatePercentage() - Added a note about the meaning of PERCENTAGEDELTA in cRingBuffer::UpdatePercentage()
(thanks to Rolf Ahrenberg). (thanks to Rolf Ahrenberg).
- The new setup option "Recording/Pause key handling" can be used to define - The new setup option "Recording/Pause key handling" can be used to define

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: remux.h 2.14 2009/05/17 10:09:35 kls Exp $ * $Id: remux.h 2.15 2009/05/23 09:51:45 kls Exp $
*/ */
#ifndef __REMUX_H #ifndef __REMUX_H
@ -262,6 +262,10 @@ public:
///< is because video packets may be larger than the data a single ///< is because video packets may be larger than the data a single
///< PES packet with an actual length field can hold, and are therefore ///< PES packet with an actual length field can hold, and are therefore
///< split into several PES packets with smaller sizes. ///< split into several PES packets with smaller sizes.
///< Note that for video data GetPes() may only be called if the next
///< TS packet that will be given to PutTs() has the "payload start" flag
///< set, because this is the only way to determine the end of a video PES
///< packet.
void Reset(void); void Reset(void);
///< Resets the converter. This needs to be called after a PES packet has ///< Resets the converter. This needs to be called after a PES packet has
///< been fetched by a call to GetPes(), and before the next call to ///< been fetched by a call to GetPes(), and before the next call to