summaryrefslogtreecommitdiff
path: root/gst/videoparsers
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-03-15 13:37:36 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-03-15 13:37:36 +0100
commit6cbb84038589d8b1086ef6c498c0402f13a83ce4 (patch)
tree6b3c0e0718273325d0a6aaeeecb6a91768d9af81 /gst/videoparsers
parent9f700cc3c4c9b4cc67ea0b44214e22d34cc0dcbb (diff)
downloadgstreamer-plugins-bad-6cbb84038589d8b1086ef6c498c0402f13a83ce4.tar.gz
update for memory api changes
Diffstat (limited to 'gst/videoparsers')
-rw-r--r--gst/videoparsers/gsth264parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c
index 58264d59e..420394f69 100644
--- a/gst/videoparsers/gsth264parse.c
+++ b/gst/videoparsers/gsth264parse.c
@@ -375,7 +375,7 @@ gst_h264_parse_wrap_nal (GstH264Parse * h264parse, guint format, guint8 * data,
GST_DEBUG_OBJECT (h264parse, "nal length %d", size);
- buf = gst_buffer_new_allocate (NULL, nl + size, 0);
+ buf = gst_buffer_new_allocate (NULL, nl + size, NULL);
if (format == GST_H264_PARSE_FORMAT_AVC) {
tmp = GUINT32_TO_BE (size << (32 - 8 * nl));
} else {
@@ -415,7 +415,7 @@ gst_h264_parser_store_nal (GstH264Parse * h264parse, guint id,
return;
}
- buf = gst_buffer_new_allocate (NULL, size, 0);
+ buf = gst_buffer_new_allocate (NULL, size, NULL);
gst_buffer_fill (buf, 0, nalu->data + nalu->offset, size);
if (store[id])
@@ -953,7 +953,7 @@ gst_h264_parse_make_codec_data (GstH264Parse * h264parse)
if (!found || !num_pps)
return NULL;
- buf = gst_buffer_new_allocate (NULL, 5 + 1 + sps_size + 1 + pps_size, 0);
+ buf = gst_buffer_new_allocate (NULL, 5 + 1 + sps_size + 1 + pps_size, NULL);
gst_buffer_map (buf, &map, GST_MAP_WRITE);
data = map.data;