[theora-dev] Theora 1.0 RC2
toots at rastageeks.org
Tue Oct 28 17:35:11 PDT 2008
Le Wednesday 29 October 2008 01:03:54 Ivo Emanuel Gonçalves, vous avez écrit :
> Hello list,
Hi list !
> Apologies are in order for the delay in getting 1.0 Final out, but the
> big word in the 1.0 release is STABILITY. The core team has found
> some last minute bugs that needed ironing out and they are being taken
> care of.
> In spite of this, we are close to see a proper release very soon and,
> as a stop-gap, all the latest developments have been collected into a
> new Release Candidate which you are invited to try.
Thanks for your work on theora !
I am currently implementing theora for our application.
In our model for generating ogg streams, we may want to stop
a stream while not providing a new YUV data buffer for encoding.
Current API doesn't allow such thing, since the eos flag is set by the
packetout function only when the last_p parameter was passed *and*
there was some data available to output.
Hence, I have written a function that forges this packet, along with NULL
data, which is allowed by the ogg specifications (and works with other
encoders, like speex).
Furthermore, since API claims that the 1-1 correspondance with YUV encoded
buffer and ogg packet might not remain in the futur, I believe such function
may be usefull in the case when 2, 3 or 4 buffers could be needed to fill a
new ogg packet..
Patch is attached. I didn't test it yet, but it is mainly packetout's code. I
believe it is correct, though I don't know if the granulepos and packetno
should be incremented in this case.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1399 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20081029/7a02ca2d/attachment.patch
More information about the theora-dev