[NUT-devel] CVS: main/DOCS/tech mpcf.txt,1.145,1.146

Rich Felker dalias at aerifal.cx
Sun Mar 12 19:05:48 CET 2006


On Sun, Mar 12, 2006 at 06:40:35PM +0100, Oded Shimon CVS wrote:
> CVS change done by Oded Shimon CVS
> 
> Update of /cvsroot/mplayer/main/DOCS/tech
> In directory mail:/var2/tmp/cvs-serv227/DOCS/tech
> 
> Modified Files:
> 	mpcf.txt 
> Log Message:
> bump neglected date
> more consistent notation (usually in specs there are only arrays, no structs...)
> 
> 
> Index: mpcf.txt
> ===================================================================
> RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
> retrieving revision 1.145
> retrieving revision 1.146
> diff -u -r1.145 -r1.146
> --- mpcf.txt	12 Mar 2006 17:35:51 -0000	1.145
> +++ mpcf.txt	12 Mar 2006 17:40:32 -0000	1.146
> @@ -1,5 +1,5 @@
>  ========================================
> -NUT Open Container Format DRAFT 20060207
> +NUT Open Container Format DRAFT 20060312
>  ========================================
>  
>  
> @@ -106,7 +106,7 @@
>  t (v coded universal timestamp)
>      tmp                                 v
>      stream_id= tmp % stream_count
> -    value= (tmp / stream_count) * stream[ stream_id ].timebase
> +    value= (tmp / stream_count) * timebase[stream_id]

BTW an idea... instead of having timebase stored in the stream header,
what if we stored a list of timebases in the main header, then the
stream header just had an index into that list? That was if we had 20
different streams but only 2 distinct timebases, the universal
timestamps would still be compact. It would also allow additional
non-stream timebases to be stored for use in chapter extents.

Rich




More information about the NUT-devel mailing list