projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28f67f4
)
rtp: use new memory alloc API
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 7 Jun 2011 14:18:40 +0000
(16:18 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 7 Jun 2011 14:18:40 +0000
(16:18 +0200)
gst-libs/gst/rtp/gstrtpbuffer.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/rtp/gstrtpbuffer.c
b/gst-libs/gst/rtp/gstrtpbuffer.c
index
7e5de64
..
35bc0c1
100644
(file)
--- a/
gst-libs/gst/rtp/gstrtpbuffer.c
+++ b/
gst-libs/gst/rtp/gstrtpbuffer.c
@@
-109,7
+109,7
@@
gst_rtp_buffer_allocate_data (GstBuffer * buffer, guint payload_len,
len = GST_RTP_HEADER_LEN + csrc_count * sizeof (guint32)
+ payload_len + pad_len;
- mem = gst_memory_
new_alloc (
len, 0);
+ mem = gst_memory_
allocator_alloc (NULL,
len, 0);
data = gst_memory_map (mem, NULL, NULL, GST_MAP_WRITE);
/* fill in defaults */