diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-05-10 13:52:46 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-05-10 13:52:46 +0200 |
commit | 7e4aed49276b3663a7d7bd69714a095e01e3b47b (patch) | |
tree | 98a38ae825724bfce124dcdc84bb4602b26f185d /remux.h | |
parent | ac3db05853d63614d7606228d2b47eec9a4fa473 (diff) | |
download | vdr-7e4aed49276b3663a7d7bd69714a095e01e3b47b.tar.gz vdr-7e4aed49276b3663a7d7bd69714a095e01e3b47b.tar.bz2 |
Added a note to cTsToPes::GetPes() about having to call it repeatedly, once it has returned a non-NULL value
Diffstat (limited to 'remux.h')
-rw-r--r-- | remux.h | 7 |
1 files changed, 6 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.10 2009/04/19 10:57:09 kls Exp $ + * $Id: remux.h 2.11 2009/05/10 13:43:52 kls Exp $ */ #ifndef __REMUX_H @@ -254,6 +254,11 @@ public: ///< is not complete yet. If the packet is complete, Length will contain ///< the total packet length. The returned pointer is only valid until ///< the next call to PutTs() or Reset(), or until this object is destroyed. + ///< Once GetPes() has returned a non-NULL value, it must be called + ///< repeatedly, and the data processed, until it returns NULL. This + ///< is because video packets may be larger than the data a single + ///< PES packet with an actual length field can hold, and are therefore + ///< split into several PES packates with smaller sizes. void Reset(void); ///< 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 |