eglglessink: gst_buffer_pool_config_get_allocator() does *not* return a new reference to the allocator
Different to gst_query_get_n_allocation_params() which does
This commit is contained in:
parent
02f244f650
commit
0931724767
@ -3373,6 +3373,8 @@ gst_egl_image_buffer_pool_set_config (GstBufferPool * bpool,
|
|||||||
if (!gst_buffer_pool_config_get_allocator (config, &pool->allocator,
|
if (!gst_buffer_pool_config_get_allocator (config, &pool->allocator,
|
||||||
&pool->params))
|
&pool->params))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
if (pool->allocator)
|
||||||
|
gst_object_ref (pool->allocator);
|
||||||
|
|
||||||
pool->add_metavideo =
|
pool->add_metavideo =
|
||||||
gst_buffer_pool_config_has_option (config,
|
gst_buffer_pool_config_has_option (config,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user