summaryrefslogtreecommitdiffstats
path: root/ext/jack
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 /ext/jack
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
Diffstat (limited to 'ext/jack')
-rw-r--r--ext/jack/gstjack.c3
1 files changed, 2 insertions, 1 deletions
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));