ext/wavpack/gstwavpackenc.*: Put the write helpers into the GstWavpackEnc struct...
authorSebastian Dröge <slomo@circular-chaos.org>
Thu, 22 Mar 2007 00:17:41 +0000 (00:17 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 22 Mar 2007 00:17:41 +0000 (00:17 +0000)
commita1a03796da8e75bb46eec73269e711d0ed7d4811
tree31ac3d7b7a345fdcc690cc3a8311c9c5b6cede5d
parent9e6dbd3f4547aa535e5932b6e090aaabce7e1854
ext/wavpack/gstwavpackenc.*: Put the write helpers into the GstWavpackEnc struct directly and not as a pointer to sav...

Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init),
(gst_wavpack_enc_init), (gst_wavpack_enc_chain),
(gst_wavpack_enc_rewrite_first_block):
* ext/wavpack/gstwavpackenc.h:
Put the write helpers into the GstWavpackEnc struct directly and not
as a pointer to save two small, but useless mallocs. This also makes
it possible to drop the finalize method.
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_push_buffer):
For consistency reasons also set GST_BUFFER_OFFSET_END on the outgoing
buffers the same way wavpackenc does it.
ext/wavpack/gstwavpackenc.c
ext/wavpack/gstwavpackenc.h
ext/wavpack/gstwavpackparse.c