diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-08-31 15:01:32 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-08-31 15:01:32 +0000 |
commit | 16e70c80aeb3d12f534651c59a35db615ee8cc0a (patch) | |
tree | 0dc2077be8e66dc672dadd4331d4d7b364377a07 /ext/celt/gstceltenc.h | |
parent | 315cb1ab96543431e315e2572da8821347cf7521 (diff) | |
download | gst-plugins-bad-16e70c80aeb3d12f534651c59a35db615ee8cc0a.tar.gz gst-plugins-bad-16e70c80aeb3d12f534651c59a35db615ee8cc0a.tar.bz2 gst-plugins-bad-16e70c80aeb3d12f534651c59a35db615ee8cc0a.zip |
ext/celt/gstceltdec.c: Correctly take the granulepos from upstream if possible and correctly handle the granulepos in...
Original commit message from CVS:
* ext/celt/gstceltdec.c: (celt_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/celt/gstceltenc.c: (gst_celt_enc_sinkevent),
(gst_celt_enc_encode), (gst_celt_enc_chain),
(gst_celt_enc_change_state):
* ext/celt/gstceltenc.h:
Handle non-zero start timestamps in the encoder and detect/handle
stream discontinuities. Fixes bug #547075.
Diffstat (limited to 'ext/celt/gstceltenc.h')
-rw-r--r-- | ext/celt/gstceltenc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/celt/gstceltenc.h b/ext/celt/gstceltenc.h index cbb62440..6331f31c 100644 --- a/ext/celt/gstceltenc.h +++ b/ext/celt/gstceltenc.h @@ -76,6 +76,11 @@ struct _GstCeltEnc { GstTagList *tags; guint64 frameno; + guint64 frameno_out; + + GstClockTime start_ts; + GstClockTime next_ts; + guint64 granulepos_offset; }; struct _GstCeltEncClass { |