[MPlayer-dev-eng] Finalize NUT spec
Oded Shimon
ods15 at ods15.dyndns.org
Sat Jan 28 15:55:32 CET 2006
On Sat, Jan 28, 2006 at 04:49:57PM +0200, Oded Shimon wrote:
> Here's the patch...
- ods15
-------------- next part --------------
Index: DOCS/tech/mpcf.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
retrieving revision 1.95
diff -u -r1.95 mpcf.txt
--- DOCS/tech/mpcf.txt 27 Jan 2006 19:13:46 -0000 1.95
+++ DOCS/tech/mpcf.txt 28 Jan 2006 14:48:09 -0000
@@ -249,8 +249,14 @@
for(; j<n && j<syncpoints; j++){
if (!has_keyframe[j][i]) continue
A v
- last_pts += A
- keyframe_pts[j][i] = last_pts
+ if(!A){
+ A v
+ B v
+ eor_pts[j][i] = last_pts + A + B
+ }else
+ B=0
+ keyframe_pts[j][i] = last_pts + A
+ last_pts += A + B
}
}
}
@@ -556,8 +562,13 @@
the last syncpoint.
keyframe_pts
- The pts of the first keyframe for this stream in the region between the
- 2 syncpoints, in the stream's timebase.
+ The pts of the first non-EOR keyframe for this stream in the region
+ between the 2 syncpoints, in the stream's timebase. If there is only a
+ EOR keyframe in that region, the pts of that EOR.
+
+eor_pts
+ Coded only if EOR is set at the position of the syncpoint. The pts of
+ that EOR. EOR is unset by the first keyframe after it.
index_ptr
Length in bytes from the first byte of the index startcode to the first
More information about the MPlayer-dev-eng
mailing list