Skip to content

Bind gst_buffer_new_wrapped() manually

The memory must be allocated with g_malloc() as we will free it again later with g_free(), as such allocate and copy the array that is passed in.


CC @thiblahute

This seems to be generally broken though. There's also new_wrapped_full() which is bound with an explicit destroy notify, and other places that look quite wrong to me.

Merge request reports