mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
libs: fix deleting a GstVaapiCodedBufferPool object
Call gst_vaapi_video_pool_finalize() in coded_buffer_pool_finalize(). Otherwise it is not called when the pool is destroyed and all objects referenced by the GstVaapiVideoPool are never released. https://bugzilla.gnome.org/show_bug.cgi?id=764993
This commit is contained in:
parent
bb0b8ce7ab
commit
1e32d62c1e
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ coded_buffer_pool_init (GstVaapiCodedBufferPool * pool,
|
|||
static void
|
||||
coded_buffer_pool_finalize (GstVaapiCodedBufferPool * pool)
|
||||
{
|
||||
gst_vaapi_video_pool_finalize (GST_VAAPI_VIDEO_POOL (pool));
|
||||
gst_vaapi_object_replace (&pool->context, NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue