Which does exactly the same thing
}
}
-static void
-ximage_buffer_pool_free (GstBufferPool * pool, GstBuffer * buffer)
-{
- gst_buffer_unref (buffer);
-}
-
GstBufferPool *
gst_ximage_buffer_pool_new (GstXImageSink * ximagesink)
{
gstbufferpool_class->get_options = ximage_buffer_pool_get_options;
gstbufferpool_class->set_config = ximage_buffer_pool_set_config;
gstbufferpool_class->alloc_buffer = ximage_buffer_pool_alloc;
- gstbufferpool_class->free_buffer = ximage_buffer_pool_free;
}
static void