if (dec->codec_data) {
GstBuffer *tmp;
- tmp = gst_buffer_merge (dec->codec_data, buf);
+ tmp =
+ gst_buffer_append (gst_buffer_ref (dec->codec_data),
+ gst_buffer_ref (buf));
gst_buffer_copy_metadata (tmp, buf, GST_BUFFER_COPY_TIMESTAMPS);
gst_buffer_unref (buf);
buf = tmp;
GST_LOG_OBJECT (sink, "Joining 2nd buffer of size %" G_GSIZE_FORMAT
" to cached buf", gst_buffer_get_size (buf));
gst_buffer_ref (buf);
- reffed_buf = buf = gst_buffer_join (sink->cache, buf);
+ reffed_buf = buf = gst_buffer_append (sink->cache, buf);
sink->cache = NULL;
}
GstSpcDec *spc = GST_SPC_DEC (gst_pad_get_parent (pad));
if (spc->buf) {
- spc->buf = gst_buffer_join (spc->buf, buffer);
+ spc->buf = gst_buffer_append (spc->buf, buffer);
} else {
spc->buf = buffer;
}
GST_ERROR_OBJECT (asfparse, "Failed to pull data from headers");
goto leave;
}
- headers = gst_buffer_join (guid_and_size, headers);
+ headers = gst_buffer_append (guid_and_size, headers);
guid_and_size = NULL;
asfparse->offset += size - ASF_GUID_OBJSIZE_SIZE;
if (!gst_asf_parse_headers (headers, asfparse->asfinfo)) {
}
asfparse->offset += obj_size - ASF_GUID_OBJSIZE_SIZE;
- buf = gst_buffer_join (guid_and_size, buf);
+ buf = gst_buffer_append (guid_and_size, buf);
ret = gst_asf_parse_push (asfparse, buf);
if (ret != GST_FLOW_OK)
break;
if (gst_asf_match_guid (GST_BUFFER_DATA (buffer),
&(guids[ASF_DATA_OBJECT_INDEX]))) {
GST_DEBUG_OBJECT (rtpasfpay, "Received data object header");
- rtpasfpay->headers = gst_buffer_join (rtpasfpay->headers, buffer);
+ rtpasfpay->headers = gst_buffer_append (rtpasfpay->headers, buffer);
rtpasfpay->state = ASF_PACKETS;
return gst_rtp_asf_pay_parse_headers (rtpasfpay);
if (GST_BUFFER_TIMESTAMP_IS_VALID (buf))
GST_WARNING_OBJECT (dvdspu,
"Joining subpicture buffer with timestamp to previous");
- dvdspu->partial_spu = gst_buffer_join (dvdspu->partial_spu, buf);
+ dvdspu->partial_spu = gst_buffer_append (dvdspu->partial_spu, buf);
} else {
/* If we don't yet have a buffer, wait for one with a timestamp,
* since that will avoid collecting the 2nd half of a partial buf */
if (demux->playlist == NULL)
demux->playlist = buf;
else
- demux->playlist = gst_buffer_join (demux->playlist, buf);
+ demux->playlist = gst_buffer_append (demux->playlist, buf);
gst_object_unref (demux);
}
for (tmp = stream->currentlist->next; tmp; tmp = tmp->next) {
- buf = gst_buffer_join (buf, (GstBuffer *) tmp->data);
+ buf = gst_buffer_append (buf, (GstBuffer *) tmp->data);
}
GST_BUFFER_TIMESTAMP (buf) = ts;
/* collect all data, we start doing something when we get an EOS
* event */
if (nsfdec->tune_buffer) {
- nsfdec->tune_buffer = gst_buffer_join (nsfdec->tune_buffer, buffer);
+ nsfdec->tune_buffer = gst_buffer_append (nsfdec->tune_buffer, buffer);
} else {
nsfdec->tune_buffer = buffer;
}
offset == self->partition_offset[partition], mark, buffer);
sub = gst_buffer_copy_region (buffer, GST_BUFFER_COPY_ALL, offset, available);
- out = gst_buffer_join (header, sub);
+ out = gst_buffer_append (header, sub);
gst_buffer_list_insert (list, -1, out);
GstBuffer *superbuf;
/* insert header */
- superbuf = gst_buffer_merge (mp4vparse->config, buffer);
+ superbuf =
+ gst_buffer_append (gst_buffer_ref (mp4vparse->config),
+ gst_buffer_ref (buffer));
gst_buffer_copy_into (superbuf, buffer, GST_BUFFER_COPY_METADATA, 0,
csize);
gst_buffer_replace (&frame->out_buffer, superbuf);
// concatenate both buffers
g_mutex_lock (decklinksink->audio_mutex);
decklinksink->audio_buffer =
- gst_buffer_join (decklinksink->audio_buffer, buffer);
+ gst_buffer_append (decklinksink->audio_buffer, buffer);
g_mutex_unlock (decklinksink->audio_mutex);
// GST_DEBUG("Audio Buffer Size: %d", GST_BUFFER_SIZE (decklinksink->audio_buffer));
{
GstBuffer *buf = GST_BUFFER (_data);
Dxr3VideoSink *sink;
- GstBuffer *merged;
g_return_if_fail (pad != NULL);
g_return_if_fail (GST_IS_PAD (pad));
if (sink->cur_buf == NULL) {
sink->cur_buf = buf;
} else {
- merged = gst_buffer_merge (sink->cur_buf, buf);
- gst_buffer_unref (sink->cur_buf);
- gst_buffer_unref (buf);
- sink->cur_buf = merged;
+ sink->cur_buf = gst_buffer_append (sink->cur_buf, buf);
}
sink->last_ts = GST_BUFFER_TIMESTAMP (buf);
if (!mpeg_frame->slices)
mpeg_frame->slices = buf;
else
- mpeg_frame->slices = gst_buffer_join (mpeg_frame->slices, buf);
+ mpeg_frame->slices = gst_buffer_append (mpeg_frame->slices, buf);
mpeg_frame->n_slices++;
}
buf = gst_buffer_new_and_alloc (size);
gst_buffer_fill (buf, 0, raw_data_block, size);
- buf = gst_buffer_join (header_buf, buf);
+ buf = gst_buffer_append (header_buf, buf);
caps = gst_caps_from_string (AAC_CAPS_STRING);
do_test (buf, caps);
gst_caps_unref (caps);
if (!k)
buffer = buffer_new (test->series[j].data, test->series[j].size);
else {
- buffer = gst_buffer_join (buffer,
+ buffer = gst_buffer_append (buffer,
buffer_new (test->series[j].data, test->series[j].size));
}
}
#define GST_LICENSE "LGPL"
/* package name in plugins */
-#define GST_PACKAGE_NAME "GStreamer Bad Plug-ins source release"
+#define GST_PACKAGE_NAME "GStreamer Bad Plug-ins git"
/* package origin */
#define GST_PACKAGE_ORIGIN "Unknown package origin"
#undef USE_POISONING
/* Version number of package */
-#define VERSION "0.11.2"
+#define VERSION "0.11.2.1"
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */