Re: libmng data-push mechanism(s)
Alexander Opitz <opitz-MXccdyw32Q/[email protected]> Thu, 15 Apr 2004 16:48:15 +0200
| Newsgroups | gmane.comp.graphics.mng.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Gerard, > Unfortunately, contrarary to my earlier contradiction, the suspension mode > flag must be left off!!! After re-reading the code I can only come to the > conclusion that it's just inserting a 32Kb buffer in the data-transport > which is completly unneccesary with the push mechanisms. libmng will still > go into suspension (even with the flag off) if it receives "0 bytes read" > from the readdata() callback, and that's exactly what we want. Ok, I've disabled the suspension flag. I now push the data with mng_read_pushdata but nothing happens. Here a log of the called callback functions INIT MNG Have called InitMNG Have called alloc Have called alloc Have called alloc Have called gettickcount Have called alloc Have called read Have called gettickcount Push 235 Data to MNG Have called alloc Have called alloc Push error 0 So it returns no error but also do not start with the Header analysing ... do I've done something wrong? Maybe you can send me the code of your test application. Greetings Alex// -- Send the message body "help" to [email protected]