summaryrefslogtreecommitdiff
path: root/gst/asfdemux
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-02-22 02:07:49 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-02-22 02:07:49 +0100
commit84c98370e5699f0baabb301ff46fefca832404e8 (patch)
tree091813b6de04add5fbb5726175fde3b66f7bc135 /gst/asfdemux
parentca1c36a8b420b29c4726782f0514ddb92463c21d (diff)
update for new memory api
Diffstat (limited to 'gst/asfdemux')
-rw-r--r--gst/asfdemux/gstrtpasfdepay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/asfdemux/gstrtpasfdepay.c b/gst/asfdemux/gstrtpasfdepay.c
index 2be7a01f..d5179a8f 100644
--- a/gst/asfdemux/gstrtpasfdepay.c
+++ b/gst/asfdemux/gstrtpasfdepay.c
@@ -177,7 +177,8 @@ gst_rtp_asf_depay_setcaps (GstRTPBaseDepayload * depayload, GstCaps * caps)
buf = gst_buffer_new ();
gst_buffer_take_memory (buf, -1,
- gst_memory_new_wrapped (0, headers, g_free, headers_len, 0, headers_len));
+ gst_memory_new_wrapped (0, headers, headers_len, 0, headers_len, headers,
+ g_free));
gst_rtp_base_depayload_push (depayload, buf);