glupload: unref the bufferpool
This commit is contained in:
parent
4be45e5f30
commit
773f9fa6ff
@ -225,6 +225,9 @@ _gl_memory_upload_propose_allocation (gpointer impl, GstQuery * decide_query,
|
|||||||
gst_query_add_allocation_pool (query, pool, size, 1, 0);
|
gst_query_add_allocation_pool (query, pool, size, 1, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pool)
|
||||||
|
gst_object_unref (pool);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
invalid_caps:
|
invalid_caps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user