current_granulepos-first_granulepos ?

Jim Smith <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.theora.devel
Message-ID <[email protected]>
Hi,

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.


Thanks

_______________________________________________
theora-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/theora-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.