[vorbis-dev] granulepos

Michael Smith msmith at xn.com.au
Sun Feb 18 15:36:21 PST 2001



> > -1 has a special meaning - it's used when no packets end on that page. Otherwise, your description is correct.
> 
> When getting a _packet_ (not page) granulepos is -1 if it is not the last
> packets to end on its page.
> 

I'm aware of that. The spec also calls for granulepos==-1 for the case
that there are NO packets ending on that page, I believe. This doesn't
actually happen in practice in the audio part of the stream, but would
with (for example) video.

Michael

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list