diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-03-15 13:37:36 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-03-15 13:37:36 +0100 |
commit | 6cbb84038589d8b1086ef6c498c0402f13a83ce4 (patch) | |
tree | 6b3c0e0718273325d0a6aaeeecb6a91768d9af81 /ext/rtmp | |
parent | 9f700cc3c4c9b4cc67ea0b44214e22d34cc0dcbb (diff) | |
download | gstreamer-plugins-bad-6cbb84038589d8b1086ef6c498c0402f13a83ce4.tar.gz |
update for memory api changes
Diffstat (limited to 'ext/rtmp')
-rw-r--r-- | ext/rtmp/gstrtmpsrc.c | 2 |
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; |