From 84c98370e5699f0baabb301ff46fefca832404e8 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 22 Feb 2012 02:07:49 +0100 Subject: [PATCH] update for new memory api --- gst/asfdemux/gstrtpasfdepay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/asfdemux/gstrtpasfdepay.c b/gst/asfdemux/gstrtpasfdepay.c index 2be7a01f20..d5179a8fe2 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);