summaryrefslogtreecommitdiff
path: root/ext/rtmp
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 /ext/rtmp
parent9f700cc3c4c9b4cc67ea0b44214e22d34cc0dcbb (diff)
downloadgstreamer-plugins-bad-6cbb84038589d8b1086ef6c498c0402f13a83ce4.tar.gz
update for memory api changes
Diffstat (limited to 'ext/rtmp')
-rw-r--r--ext/rtmp/gstrtmpsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/rtmp/gstrtmpsrc.c b/ext/rtmp/gstrtmpsrc.c
index 0103cad5e..be94bae7d 100644
--- a/ext/rtmp/gstrtmpsrc.c
+++ b/ext/rtmp/gstrtmpsrc.c
@@ -316,7 +316,7 @@ gst_rtmp_src_create (GstPushSrc * pushsrc, GstBuffer ** buffer)
GST_DEBUG ("reading from %" G_GUINT64_FORMAT
", size %u", src->cur_offset, size);
- buf = gst_buffer_new_allocate (NULL, size, 0);
+ buf = gst_buffer_new_allocate (NULL, size, NULL);
if (G_UNLIKELY (buf == NULL)) {
GST_ERROR_OBJECT (src, "Failed to allocate %u bytes", size);
return GST_FLOW_ERROR;