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: