Commit 91cd2039 authored by Benjamin Otte's avatar Benjamin Otte

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
parent 895c61d1
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):
......
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment