[NUT-devel] Info packets in NUT stream (spec bugs?)

Oded Shimon ods15 at ods15.dyndns.org
Sun Nov 5 08:50:55 CET 2006


On Sun, Nov 05, 2006 at 09:48:46AM +0200, Oded Shimon wrote:
> On Sun, Nov 05, 2006 at 12:19:53AM +0100, Michael Niedermayer wrote:
> > the big problem with simply allowing arbitrarily placed info is that it 
> > makes the info useless for the normal nut file case as the info cannot be
> > found its like a dvd with chapters but the information about where the
> > chapters begin is stored at the begin of the chapters, you end up with
> > a O(n) search ...
> > so ive some concerns with just saying its ok for streaming, as that
> > leads to nut files laying around which are encoded for streaming ...
> 
> The proposal I had for this is - info packets not written after main 
> headers are only allowed in real time streaming, and must have 
> chapter_id!=0

Just to point something out - we already make a distinction in the spec 
between real time streaming and file storage - in regards to index and 
headers must be repeated 3 times...

- ods15



More information about the NUT-devel mailing list