diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-05-17 09:54:16 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-05-17 09:54:16 +0200 |
commit | 877d4851e85874e3e16e2f62ac234d32f7309205 (patch) | |
tree | 09e8a2c5d3cf6f738c19ca8347c2c066af5ae6d4 | |
parent | b250709407a79d3adf65480d5de8575c2b449ed0 (diff) | |
download | vdr-877d4851e85874e3e16e2f62ac234d32f7309205.tar.gz vdr-877d4851e85874e3e16e2f62ac234d32f7309205.tar.bz2 |
Added a note to cTsToPes about all TS packets having to belong to the same PID
-rw-r--r-- | CONTRIBUTORS | 2 | ||||
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | remux.h | 6 |
3 files changed, 9 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 1d808e65..7ae876a6 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2131,6 +2131,8 @@ Christoph Haubrich <christoph1.haubrich@arcor.de> for changing cBitmap::DrawText() to always draw the background unless ColorBg is clrTransparent for reporting unused 'synced' member in cTsToPes + for suggesting to add a note to cTsToPes about all TS packets having to belong to + the same PID Pekka Mauno <pekka.mauno@iki.fi> for fixing cSchedule::GetFollowingEvent() in case there is currently no present @@ -6099,3 +6099,5 @@ Video Disk Recorder Revision History - EIT events are now only processed if a plausible system time is available, to avoid wrong handling of PDC descriptors (thanks to Tobias Bratfisch). - 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 + (suggested by Christoph Haubrich). @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remux.h 2.12 2009/05/17 09:45:53 kls Exp $ + * $Id: remux.h 2.13 2009/05/17 09:52:56 kls Exp $ */ #ifndef __REMUX_H @@ -248,6 +248,10 @@ public: ///< If the given TS packet starts a new PES payload packet, the converter ///< will be automatically reset. Any packets before the first one that starts ///< a new PES payload packet will be ignored. + ///< Once a TS packet has been put into a cTsToPes converter, all subsequent + ///< packets until the next call to Reset() must belong to the same PID as + ///< the first packet. There is no check whether this actually is the case, so + ///< the caller is responsible for making sure this condition is met. const uchar *GetPes(int &Length); ///< Gets a pointer to the complete PES packet, or NULL if the packet ///< is not complete yet. If the packet is complete, Length will contain |