Skip to content
Snippets Groups Projects
Commit 2b36eb51 authored by Michael Olbrich's avatar Michael Olbrich Committed by Víctor Manuel Jáquez Leal
Browse files

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
parent a7b15c05
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment