[theora-dev] current_granulepos-first_granulepos ?

Jim Smith jimjim197 at yahoo.com
Sun Jun 22 13:59:27 PDT 2008


Is it correct to assume that after I get the headers of a stream like theora or vorbis the packet time can be computed as 
current_granulepos-first_granulepos ?

This would give me the difference between the first media packet that is not a 
header and the current packet I decoded most recently. In a live stream I would have a 
clock from this calculation starting at zero.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/theora-dev/attachments/20080622/08dd48a4/attachment.htm 

More information about the theora-dev mailing list