ext/speex/gstspeexdec.c: Correctly take the granulepos from upstream if possible...
authorSebastian Dröge <slomo@circular-chaos.org>
Sun, 31 Aug 2008 14:39:57 +0000 (14:39 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Sun, 31 Aug 2008 14:39:57 +0000 (14:39 +0000)
commit25896b3a93da2cc7a8b2c5418d874bdb0065c5ef
treeeef8dca6d7544e9a2af0784955eeced545064f0d
parent467b9f2861846accbc3cfbe726d163cf1be312a1
ext/speex/gstspeexdec.c: Correctly take the granulepos from upstream if possible and correctly handle the granulepos ...

Original commit message from CVS:
* ext/speex/gstspeexdec.c: (speex_dec_chain_parse_data):
Correctly take the granulepos from upstream if possible and
correctly handle the granulepos in various calculations: the
granulepos is the sample number of the _last_ sample in a frame, not
the first.
* ext/speex/gstspeexenc.c: (gst_speex_enc_sinkevent),
(gst_speex_enc_encode), (gst_speex_enc_chain),
(gst_speex_enc_change_state):
* ext/speex/gstspeexenc.h:
Handle non-zero start timestamps in the encoder and detect/handle
stream discontinuities. Fixes bug #547075.
ChangeLog
ext/speex/gstspeexdec.c
ext/speex/gstspeexenc.c
ext/speex/gstspeexenc.h