summaryrefslogtreecommitdiff
path: root/remux.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-05-23 09:53:50 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-05-23 09:53:50 +0200
commit02921f8851e5e864beafcaf085fec1017a93bde2 (patch)
tree2e81ba1e235854afd03774bb234a50a333f5a066 /remux.h
parent2c5faf0b65d8223724865109176a9c19cf1f1cba (diff)
downloadvdr-02921f8851e5e864beafcaf085fec1017a93bde2.tar.gz
vdr-02921f8851e5e864beafcaf085fec1017a93bde2.tar.bz2
Added a note to cTsToPes regarding the 'payload start' flag for video data
Diffstat (limited to 'remux.h')
-rw-r--r--remux.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/remux.h b/remux.h
index 4241d2c6..5e2ba566 100644
--- a/remux.h
+++ b/remux.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* 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
@@ -262,6 +262,10 @@ public:
///< 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 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);
///< 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