mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
update for new memory api
This commit is contained in:
parent
ca1c36a8b4
commit
84c98370e5
1 changed files with 2 additions and 1 deletions
|
@ -177,7 +177,8 @@ gst_rtp_asf_depay_setcaps (GstRTPBaseDepayload * depayload, GstCaps * caps)
|
||||||
|
|
||||||
buf = gst_buffer_new ();
|
buf = gst_buffer_new ();
|
||||||
gst_buffer_take_memory (buf, -1,
|
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);
|
gst_rtp_base_depayload_push (depayload, buf);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue