[MPlayer-dev-eng] Nut proposal [Re: Cleaning your nuts]

Ville Saari 114263 at foo.bar.org
Thu Apr 22 13:26:32 CEST 2004


On Thu, Apr 22, 2004 at 12:14:20AM -0400, D Richard Felker III wrote:

> First some points about stream code. In a simple 2-stream file, you'll
> never need to vlc code stream_id. Coding as -1/same/+1 always works.

Except at sync points. It can be made to work for 3 streams too with a
small addition to the specification: Allow stream id's to wrap around
so that the last stream plus one means the first stream and first minus
one the last.

Another idea: If the file has 4 streams or less, store the stream id
directly in those two bits and use the vlc/-1/same/+1-scheme only
for files with 5 or more streams. That way vlc ids are never needed
for 1-4 stream files - not even at sync points!

-- 
 Ville




More information about the MPlayer-dev-eng mailing list