summaryrefslogtreecommitdiff
path: root/gst/rtp/gstrtpqdmdepay.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-02-22 02:06:17 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-02-22 02:10:33 +0100
commitca9532ccc58e69ccfc15226f093506ea868287a0 (patch)
treedf8a2f509dbc887e0f20ab4691ddb0941e929edb /gst/rtp/gstrtpqdmdepay.c
parent8530c0f62002cb1df42fdb0e44433f6474dd6070 (diff)
update for new memory api
Diffstat (limited to 'gst/rtp/gstrtpqdmdepay.c')
-rw-r--r--gst/rtp/gstrtpqdmdepay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtp/gstrtpqdmdepay.c b/gst/rtp/gstrtpqdmdepay.c
index 64cc9fb32..bad239c58 100644
--- a/gst/rtp/gstrtpqdmdepay.c
+++ b/gst/rtp/gstrtpqdmdepay.c
@@ -182,8 +182,8 @@ flush_data (GstRtpQDM2Depay * depay)
buf = gst_buffer_new ();
gst_buffer_take_memory (buf, -1,
- gst_memory_new_wrapped (0, data, g_free, depay->packetsize, 0,
- depay->packetsize));
+ gst_memory_new_wrapped (0, data, depay->packetsize, 0,
+ depay->packetsize, data, g_free));
gst_adapter_push (depay->adapter, buf);