summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-03-28 12:48:55 +0200
committerTim-Philipp Müller <tim@centricular.net>2012-09-11 01:54:44 +0100
commite817295aefa4d3fbefa1df38c2c38b74798e2f6c (patch)
tree897872054cb677702bcc01d350dd5288c2636ff8
parent38abb4a497161903427991dac7077ee535fd714e (diff)
update for buffer changes
-rw-r--r--gst/gdp/gstgdppay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/gdp/gstgdppay.c b/gst/gdp/gstgdppay.c
index bb5764f9e..40a88b325 100644
--- a/gst/gdp/gstgdppay.c
+++ b/gst/gdp/gstgdppay.c
@@ -235,7 +235,7 @@ gst_gdp_buffer_from_caps (GstGDPPay * this, GstCaps * caps)
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:
@@ -264,7 +264,7 @@ gst_gdp_pay_buffer_from_buffer (GstGDPPay * this, GstBuffer * buffer)
/* 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:
@@ -301,7 +301,7 @@ gst_gdp_buffer_from_event (GstGDPPay * this, GstEvent * event)
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: