vorbisenc, theoraenc: Ensure gp is computed consistently + clip to segment
authorZaheer Merali <zaheerabbas@merali.org>
Wed, 6 May 2009 12:19:34 +0000 (13:19 +0100)
committerZaheer Merali <zaheerabbas@merali.org>
Wed, 6 May 2009 12:19:34 +0000 (13:19 +0100)
commit1650272b847bf09649853a4a7eeeb1bae12d5e1c
tree7e2b2cb64ba00674bf268567a5b382bf174730ff
parent02a7b31f0e7a9e6630efe925696a9229423314aa
vorbisenc, theoraenc: Ensure gp is computed consistently + clip to segment

With vorbisenc, compute the granulepos with running time and clip incoming
buffers to segment.
With theoraenc, drop out of segment buffers.
ext/theora/theoraenc.c
ext/vorbis/vorbisenc.c