[NUT-devel] Broadcasting nuts [PATCH]

Michael Niedermayer michaelni at gmx.at
Sat Feb 9 19:38:57 CET 2008


On Sat, Feb 09, 2008 at 02:22:30PM +0100, Michael Niedermayer wrote:
[...]
> > 
> > I'm not completely wedded to this proposal nor opposed to different
> > ways of doing it, but I do believe this approach has some nice
> > advantages as outlined above.
> 
> While what you propose would work, i do not like it at all. It adds
> tons of complexity and overhead to avoid adding 2 bytes to syncpoints.
> Also it would need another set of special cases for back_ptr and index
> as that stream type you describe needs neither.

Additionally, if we have such time/buffer streams then the vissible streams
no longer match what is stored in the file. This would increase complexity. 
There would not be 1 stream_count but 2 and the structures provided
by a common API (like AVStream / AVStream.priv_data) no longer could be used
for all streams.
And if you had 2 such streams, it would be needed to decide which to use.
Also normal packets in streams are not normally protected by a checksum,
and a wrong value used as preload is far worse then using the next value.
The syncpoints (as well as info packets naturally provide error pretection
through their checksums.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/nut-devel/attachments/20080209/9ed8a700/attachment.pgp>


More information about the NUT-devel mailing list