header = gst_byte_writer_reset_and_get_buffer (&writer->tagwriter);
data = gst_byte_writer_reset_and_get_buffer (&writer->datawriter);
- return gst_buffer_join (header, data);
+ return gst_buffer_append (header, data);
}
/*
if (demux->priv->collect == NULL) {
demux->priv->collect = buf;
} else {
- demux->priv->collect = gst_buffer_join (demux->priv->collect, buf);
+ demux->priv->collect = gst_buffer_append (demux->priv->collect, buf);
}
demux->priv->collect_size += size;
buf = NULL;
gst_buffer_take_memory (payloadbuf, -1,
gst_memory_new_wrapped (0, payload, plen, 0, plen, payload, g_free));
- return gst_buffer_join (headerbuf, payloadbuf);
+ return gst_buffer_append (headerbuf, payloadbuf);
/* ERRORS */
packet_failed:
/* we do not want to lose the ref on the incoming buffer */
gst_buffer_ref (buffer);
- return gst_buffer_join (headerbuf, buffer);
+ return gst_buffer_append (headerbuf, buffer);
/* ERRORS */
no_buffer:
gst_memory_new_wrapped (0, payload, plen, 0, plen, payload, g_free));
}
- return gst_buffer_join (headerbuf, payloadbuf);
+ return gst_buffer_append (headerbuf, payloadbuf);
/* ERRORS */
no_event: