summaryrefslogtreecommitdiffstats
path: root/ext/wavpack/gstwavpackenc.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-08-31 17:09:18 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-08-31 17:09:18 +0000
commit912cb98096b331bf7793ecb05a725bea37c9cda7 (patch)
tree77565e6f335ff1e7c7bcb2896b2add9924dd901e /ext/wavpack/gstwavpackenc.h
parenta414f86f8854a90c48e96262a9f9d02b4e2a3d84 (diff)
ext/wavpack/gstwavpackenc.*: Handle non-zero start timestamps and stream discontinuities correctly. This only has an ...
Original commit message from CVS: * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_reset), (gst_wavpack_enc_push_block), (gst_wavpack_enc_chain): * ext/wavpack/gstwavpackenc.h: Handle non-zero start timestamps and stream discontinuities correctly. This only has an effect if we're muxing into a container format as the raw WavPack stream must contain continous sample numbers.
Diffstat (limited to 'ext/wavpack/gstwavpackenc.h')
-rw-r--r--ext/wavpack/gstwavpackenc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/wavpack/gstwavpackenc.h b/ext/wavpack/gstwavpackenc.h
index dbafcd19..61b9944e 100644
--- a/ext/wavpack/gstwavpackenc.h
+++ b/ext/wavpack/gstwavpackenc.h
@@ -87,6 +87,9 @@ struct _GstWavpackEnc
GstBuffer *pending_buffer;
gint32 pending_offset;
+
+ GstClockTime timestamp_offset;
+ GstClockTime next_ts;
};
struct _GstWavpackEncClass