update for new memory api

This commit is contained in:
Wim Taymans 2012-02-22 02:07:49 +01:00
parent ca1c36a8b4
commit 84c98370e5

View file

@ -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);