mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
ximagebufferpool: Use the default ::free_buffer() implementation
Which does exactly the same thing
This commit is contained in:
parent
15687f381b
commit
3233f09adf
1 changed files with 0 additions and 7 deletions
|
@ -590,12 +590,6 @@ no_buffer:
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
ximage_buffer_pool_free (GstBufferPool * pool, GstBuffer * buffer)
|
||||
{
|
||||
gst_buffer_unref (buffer);
|
||||
}
|
||||
|
||||
GstBufferPool *
|
||||
gst_ximage_buffer_pool_new (GstXImageSink * ximagesink)
|
||||
{
|
||||
|
@ -624,7 +618,6 @@ gst_ximage_buffer_pool_class_init (GstXImageBufferPoolClass * klass)
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue