mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
basetransform: Correctly reset configuration
When pool can't we use, and we fall back to default pool, we need to correctly reset that pool configuration.
This commit is contained in:
parent
bf9018b77c
commit
e73907200c
1 changed files with 2 additions and 0 deletions
|
@ -911,6 +911,8 @@ gst_base_transform_default_decide_allocation (GstBaseTransform * trans,
|
|||
|
||||
gst_object_unref (pool);
|
||||
pool = gst_buffer_pool_new ();
|
||||
gst_buffer_pool_config_set_params (config, outcaps, size, min, max);
|
||||
gst_buffer_pool_config_set_allocator (config, allocator, ¶ms);
|
||||
}
|
||||
|
||||
if (!gst_buffer_pool_set_config (pool, config))
|
||||
|
|
Loading…
Reference in a new issue