mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 19:18:31 +00:00
utils: update for buffer API change
This commit is contained in:
parent
7f4df8f536
commit
4b5cfd1e31
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ new_aligned_buffer (gint size)
|
|||
GstBuffer *buf;
|
||||
|
||||
buf = gst_buffer_new ();
|
||||
gst_buffer_take_memory (buf,
|
||||
gst_buffer_take_memory (buf, -1,
|
||||
gst_memory_new_wrapped (0, av_malloc (size), av_free, size, 0, size));
|
||||
|
||||
return buf;
|
||||
|
|
Loading…
Reference in a new issue