mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
update for buffer api change
This commit is contained in:
parent
2c881eb752
commit
182af2df48
1 changed files with 1 additions and 1 deletions
|
@ -442,7 +442,7 @@ new_aligned_buffer (gint size)
|
|||
data = av_malloc (size);
|
||||
|
||||
buf = gst_buffer_new ();
|
||||
gst_buffer_take_memory (buf, -1,
|
||||
gst_buffer_append_memory (buf,
|
||||
gst_memory_new_wrapped (0, data, size, 0, size, data, av_free));
|
||||
|
||||
return buf;
|
||||
|
|
Loading…
Reference in a new issue