mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -3373,6 +3373,8 @@ gst_egl_image_buffer_pool_set_config (GstBufferPool * bpool,
|
|||
if (!gst_buffer_pool_config_get_allocator (config, &pool->allocator,
|
||||
&pool->params))
|
||||
return FALSE;
|
||||
if (pool->allocator)
|
||||
gst_object_ref (pool->allocator);
|
||||
|
||||
pool->add_metavideo =
|
||||
gst_buffer_pool_config_has_option (config,
|
||||
|
|
Loading…
Reference in a new issue