summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-28 00:11:53 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-28 00:11:53 +0000
commite4a9ff8c042b481ed674ea1fb8b49ff21d3ef176 (patch)
tree1fb917d90def0a750185a11d7d75d0fddc3d0464
parentc68aea6ebdfb9a1d75e7c8e2a457d22254328788 (diff)
downloadmpv-e4a9ff8c042b481ed674ea1fb8b49ff21d3ef176.tar.bz2
mpv-e4a9ff8c042b481ed674ea1fb8b49ff21d3ef176.tar.xz
clarify pts related stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20476 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--DOCS/tech/nut.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/tech/nut.txt b/DOCS/tech/nut.txt
index 4633e906b7..9b21aae25d 100644
--- a/DOCS/tech/nut.txt
+++ b/DOCS/tech/nut.txt
@@ -549,6 +549,11 @@ flags[frame_code], frame_flags
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 @@ data_size_lsb[frame_code]
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