mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
vulkan/upload: allocate from the correct pool
Only relevant when upstream does not use our provided pool.
This commit is contained in:
parent
960784af1f
commit
756d52ef15
1 changed files with 1 additions and 1 deletions
|
@ -847,7 +847,7 @@ _raw_to_image_perform (gpointer impl, GstBuffer * inbuf, GstBuffer ** outbuf)
|
|||
gsize size = 1;
|
||||
|
||||
raw->in_pool = gst_vulkan_buffer_pool_new (raw->upload->device);
|
||||
config = gst_buffer_pool_get_config (raw->pool);
|
||||
config = gst_buffer_pool_get_config (raw->in_pool);
|
||||
gst_buffer_pool_config_set_params (config, raw->upload->in_caps, size,
|
||||
min, max);
|
||||
gst_buffer_pool_set_config (raw->in_pool, config);
|
||||
|
|
Loading…
Reference in a new issue