GDestroyNotify notify);
GST_API
GstBuffer * gst_buffer_new_wrapped (gpointer data, gsize size);
+GST_API
+GstBuffer * gst_buffer_new_wrapped_bytes (GBytes * bytes);
/* memory blocks */
static inline void
gst_clear_buffer (GstBuffer ** buf_ptr)
{
- gst_clear_mini_object (buf_ptr);
+ gst_clear_mini_object ((GstMiniObject **) buf_ptr);
}
/* copy buffer */