changeset 20460:0feb44107cdf

clarify pts related stuff
author michael
date Sat, 28 Oct 2006 00:11:53 +0000
parents 231f139a324d
children bd939e05fbb4
files DOCS/tech/nut.txt
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/tech/nut.txt	Fri Oct 27 23:13:46 2006 +0000
+++ b/DOCS/tech/nut.txt	Sat Oct 28 00:11:53 2006 +0000
@@ -549,6 +549,11 @@
     max_pts_distance (where pts represents this frame's pts and last_pts is
     defined as below).
 
+last_pts
+    the timestamp of the last frame with the same stream_id as the current
+    if there is no such frame between the last syncpoint and the current
+    frame then the syncpoint timestamp is used, see global_key_pts
+
 stream_id[frame_code]
     MUST be <250
 
@@ -560,6 +565,9 @@
 
 pts_delta[frame_code]
     MUST be <16384 and >-16384
+    if FLAG_CODED_PTS is set in the flags of the current frame then this
+    value MUST be ignored, if FLAG_CODED_PTS is not set then pts_delta is the
+    difference between the current pts and last_pts
 
 reserved_count[frame_code]
     MUST be <256