diff options
Diffstat (limited to 'ext/jack/gstjack.c')
-rw-r--r-- | ext/jack/gstjack.c | 3 |
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)); |