summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY6
-rw-r--r--remux.h6
2 files changed, 9 insertions, 3 deletions
diff --git a/HISTORY b/HISTORY
index ac5118ca..2ef05959 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6099,8 +6099,10 @@ 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).
+- Added a note to cTsToPes about all TS packets having to belong to the same PID,
+ 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()
(thanks to Rolf Ahrenberg).
- The new setup option "Recording/Pause key handling" can be used to define
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