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 /remux.h | |
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
Diffstat (limited to 'remux.h')
-rw-r--r-- | remux.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |