[theora-dev] ogg packets get lost

Ralph Giles giles at xiph.org
Fri Jan 4 10:20:29 PST 2008


On Fri, Jan 04, 2008 at 12:46:45PM +0100, Yorn wrote:

> true! However, for seeking/cutting (e.g. keeping the packets since the last 
> keyframe) this is really a mess (or is there another way to get arround 
> this?).

What Patrick said is correct. If you want to maintain data returned by 
ogg_stream_packetout() or ogg_stream_pageout() across successive calls, 
you must copy the packet or page data to a fresh object.

 -r


More information about the theora-dev mailing list