mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
xvimagebufferpool: Use the default ::free_buffer() implementation
Which does exactly the same thing
This commit is contained in:
parent
d0bd5f04c0
commit
15687f381b
1 changed files with 0 additions and 7 deletions
|
@ -650,12 +650,6 @@ no_buffer:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
xvimage_buffer_pool_free (GstBufferPool * pool, GstBuffer * buffer)
|
|
||||||
{
|
|
||||||
gst_buffer_unref (buffer);
|
|
||||||
}
|
|
||||||
|
|
||||||
GstBufferPool *
|
GstBufferPool *
|
||||||
gst_xvimage_buffer_pool_new (GstXvImageSink * xvimagesink)
|
gst_xvimage_buffer_pool_new (GstXvImageSink * xvimagesink)
|
||||||
{
|
{
|
||||||
|
@ -684,7 +678,6 @@ gst_xvimage_buffer_pool_class_init (GstXvImageBufferPoolClass * klass)
|
||||||
gstbufferpool_class->get_options = xvimage_buffer_pool_get_options;
|
gstbufferpool_class->get_options = xvimage_buffer_pool_get_options;
|
||||||
gstbufferpool_class->set_config = xvimage_buffer_pool_set_config;
|
gstbufferpool_class->set_config = xvimage_buffer_pool_set_config;
|
||||||
gstbufferpool_class->alloc_buffer = xvimage_buffer_pool_alloc;
|
gstbufferpool_class->alloc_buffer = xvimage_buffer_pool_alloc;
|
||||||
gstbufferpool_class->free_buffer = xvimage_buffer_pool_free;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue