ext/theora/: Fix theora granulepos calculation.
authorWim Taymans <wim.taymans@gmail.com>
Wed, 7 Jul 2004 15:57:48 +0000 (15:57 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 7 Jul 2004 15:57:48 +0000 (15:57 +0000)
commite67e64c0cc77d0144399448ee38eedc31dbd907f
tree1756751dbefde1558190a32eacff5bb29b67d1e9
parent639510dfe6a1873950b21e071df58023a8859f02
ext/theora/: Fix theora granulepos calculation.

Original commit message from CVS:
* ext/theora/theora.c: (plugin_init):
* ext/theora/theoradec.c: (theora_dec_from_granulepos),
(theora_dec_src_query), (theora_dec_chain):
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_sink_link), (theora_buffer_from_packet),
(theora_push_packet), (theora_enc_chain):
Fix theora granulepos calculation.
Fix overflow in duration/position calculation.
Bump rank to PRIMARY for theoradec.
Use granulepos of last packet to calculate position.
Set keyframe flag on buffers when needed.
ChangeLog