summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/jack/gstjack.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0092de59..e860445e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-20 Benjamin Otte <in7y118@public.uni-hamburg.de>
+
+ * ext/jack/gstjack.c: (gst_jack_loop):
+ don't use deprecated gst_buffer_set_data
+
2005-03-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state):
diff --git a/ext/jack/gstjack.c b/ext/jack/gstjack.c
index 58678f87..88ee5fae 100644
--- a/ext/jack/gstjack.c
+++ b/ext/jack/gstjack.c
@@ -500,7 +500,8 @@ gst_jack_loop (GstElement * element)
gst_buffer_unref (buffer);
} else {
buffer = gst_buffer_new ();
- gst_buffer_set_data (buffer, pad->data, len);
+ buffer->data = pad->data;
+ buffer->size = len;
GST_BUFFER_FLAG_SET (buffer, GST_BUFFER_DONTFREE);
gst_pad_push (pad->pad, GST_DATA (buffer));