Re: libmng data-push mechanism(s)
Alexander Opitz <opitz-MXccdyw32Q/[email protected]> Fri, 9 Apr 2004 01:06:20 +0200
| Newsgroups | gmane.comp.graphics.mng.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Gerard, > Of course I can also offer both methods (for reasons of flexibility) where > in the one case ownership is transferred and in the other the buffer gets > copied to a new one. That way you (and the next guy on the block) could > decide which method would suite your needs best. how does libpng work on this point? But how I understand the mozilla source ... we need to read out the buffer every round ... but why we don't let read libmng the next (<=)1024 bytes in hits own buffer if mng_display_resume is called. It now reads also in 1024 Byte parts in the own buffer? Also if you start with mng_read then mng_read_resume always reads more from stream and then you also can do mng_display to start displaying. But I wan't displaying while file is read from web :-) (And also in this way I don't know if the file in stream have ended or the buffer isn't filled enough and so I don't know if I can call mng_display) Greetings Alex// -- Send the message body "help" to [email protected]