mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 06:01:04 +00:00
glfilter: get the config from the correct pool
This commit is contained in:
parent
cc2e0a7288
commit
59e4a039c9
1 changed files with 1 additions and 1 deletions
|
@ -899,7 +899,7 @@ gst_gl_filter_propose_allocation (GstBaseTransform * trans,
|
||||||
|
|
||||||
if (decide_pool && GST_IS_GL_BUFFER_POOL (decide_pool)
|
if (decide_pool && GST_IS_GL_BUFFER_POOL (decide_pool)
|
||||||
&& gst_caps_is_equal_fixed (decide_caps, caps)) {
|
&& gst_caps_is_equal_fixed (decide_caps, caps)) {
|
||||||
config = gst_buffer_pool_get_config (pool);
|
config = gst_buffer_pool_get_config (decide_pool);
|
||||||
gst_buffer_pool_config_get_params (config, NULL, &size, NULL, NULL);
|
gst_buffer_pool_config_get_params (config, NULL, &size, NULL, NULL);
|
||||||
gst_structure_free (config);
|
gst_structure_free (config);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue