mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
rtp: fix for allocator name change
This commit is contained in:
parent
a58805216a
commit
a8ffd4e28c
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ gst_rtp_buffer_allocate_data (GstBuffer * buffer, guint payload_len,
|
||||||
len = GST_RTP_HEADER_LEN + csrc_count * sizeof (guint32)
|
len = GST_RTP_HEADER_LEN + csrc_count * sizeof (guint32)
|
||||||
+ payload_len + pad_len;
|
+ payload_len + pad_len;
|
||||||
|
|
||||||
mem = gst_memory_allocator_alloc (NULL, len, 0);
|
mem = gst_allocator_alloc (NULL, len, 0);
|
||||||
|
|
||||||
data = gst_memory_map (mem, NULL, NULL, GST_MAP_WRITE);
|
data = gst_memory_map (mem, NULL, NULL, GST_MAP_WRITE);
|
||||||
/* fill in defaults */
|
/* fill in defaults */
|
||||||
|
|
Loading…
Reference in a new issue