summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2005-03-20 20:21:15 +0000
committerBenjamin Otte <otte@gnome.org>2005-03-20 20:21:15 +0000
commit91cd203946e822d1427a095f53cc7e4877f95a38 (patch)
tree82ceb03c32028ec3417644ae59d5ce23a12ca9d3
parent895c61d1adb86aa98c0671854925c80094cd1cd4 (diff)
downloadgst-plugins-bad-91cd203946e822d1427a095f53cc7e4877f95a38.tar.gz
gst-plugins-bad-91cd203946e822d1427a095f53cc7e4877f95a38.tar.bz2
gst-plugins-bad-91cd203946e822d1427a095f53cc7e4877f95a38.zip
ext/jack/gstjack.c: don't use deprecated gst_buffer_set_data
Original commit message from CVS: * ext/jack/gstjack.c: (gst_jack_loop): don't use deprecated gst_buffer_set_data
-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));