summaryrefslogtreecommitdiffstats
path: root/ext/wavpack/gstwavpackenc.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2007-03-22 00:17:41 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2007-03-22 00:17:41 +0000
commit4f1ddeddbae60f12e652c96fc0cb65402c056fa8 (patch)
tree9c20564a3c47bf0b839fd469301cf7ffd19051ad /ext/wavpack/gstwavpackenc.h
parent3a12608d1c7752c42ce321d3687423a130b91372 (diff)
downloadgst-plugins-bad-4f1ddeddbae60f12e652c96fc0cb65402c056fa8.tar.gz
gst-plugins-bad-4f1ddeddbae60f12e652c96fc0cb65402c056fa8.tar.bz2
gst-plugins-bad-4f1ddeddbae60f12e652c96fc0cb65402c056fa8.zip
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.
Diffstat (limited to 'ext/wavpack/gstwavpackenc.h')
-rw-r--r--ext/wavpack/gstwavpackenc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/wavpack/gstwavpackenc.h b/ext/wavpack/gstwavpackenc.h
index 7a7c156f..35d796f8 100644
--- a/ext/wavpack/gstwavpackenc.h
+++ b/ext/wavpack/gstwavpackenc.h
@@ -68,8 +68,8 @@ struct _GstWavpackEnc
gint channels;
gint width;
- GstWavpackEncWriteID *wv_id;
- GstWavpackEncWriteID *wvc_id;
+ GstWavpackEncWriteID wv_id;
+ GstWavpackEncWriteID wvc_id;
guint mode;
gdouble bitrate;