ext/theora/: Mark discontinuities of > 3/4 of a frame, reinit encoder.
authorMichael Smith <msmith@xiph.org>
Wed, 22 Nov 2006 14:34:03 +0000 (14:34 +0000)
committerMichael Smith <msmith@xiph.org>
Wed, 22 Nov 2006 14:34:03 +0000 (14:34 +0000)
commit32500268deac8fe18c4c037e0c993fbc7b40b144
tree103fa961caaecea79e9c7e5c89151a22617ca757
parent60ad66776178af8e03f13be55bb99d757823f1fd
ext/theora/: Mark discontinuities of > 3/4 of a frame, reinit encoder.

Original commit message from CVS:
* ext/theora/gsttheoraenc.h:
* ext/theora/theoraenc.c: (gst_theora_enc_init),
(theora_enc_reset), (theora_enc_clear), (theora_enc_sink_setcaps),
(theora_buffer_from_packet), (theora_enc_is_discontinuous),
(theora_enc_chain), (theora_enc_change_state):
Mark discontinuities of > 3/4 of a frame, reinit encoder.

* tests/check/pipelines/theoraenc.c: (check_buffer_granulepos),
(GST_START_TEST), (theoraenc_suite):
Enable discontinuity test, fix it.
ChangeLog
ext/theora/gsttheoraenc.h
ext/theora/theoraenc.c
tests/check/pipelines/theoraenc.c