update for buffer changes

This commit is contained in:
Wim Taymans 2012-03-28 12:48:55 +02:00
parent fd24621464
commit 69298c5534
3 changed files with 5 additions and 5 deletions

View file

@ -550,7 +550,7 @@ gst_exif_writer_reset_and_get_buffer (GstExifWriter * writer)
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);
}
/*

View file

@ -573,7 +573,7 @@ gst_tag_demux_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
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;

View file

@ -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: