[MPlayer-dev-eng] NUT cleanup

Rich Felker dalias at aerifal.cx
Tue Sep 6 05:09:13 CEST 2005


On Tue, Sep 06, 2005 at 03:51:59AM +0200, Michael Niedermayer wrote:
> Hi
> 
> On Mon, Sep 05, 2005 at 09:44:16PM -0400, Rich Felker wrote:
> > On Tue, Sep 06, 2005 at 03:23:03AM +0200, Michael Niedermayer wrote:
> > > [...]
> > > > @@ -313,11 +324,8 @@
> > > >  	SHOULD be set to <=32768 or at least <=65536 unless there is a very
> > > >  	good reason to set it higher
> > > >  
> > > > -stream_id[FIXME]
> > > > +stream_id
> > > >  	Stream identifier
> > > > -	Note: streams with a lower relative class MUST have a lower relative id
> > > > -	so a stream with class 0 MUST always have an id which is lower than any
> > > > -	stream with class > 0
> > > >  	stream_id MUST be < stream_count
> > > >  
> > > >  stream_class
> > > 
> > > ok
> > 
> > is there a reason we're removing this requirement?
> 
> one reason i could think of is that when transcoding it avoids having to
> remap stream ids

IIRC the idea was that applications should treat the id's as being
zero-based within each class (video0, video1, audio0, audio1, audio1,
sub0, sub1, ..) and that the numbering within the nut file was just to
avoid wasting space by storing both a class and stream number..

Rich




More information about the MPlayer-dev-eng mailing list