mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
glfilter: avoid uninitialized variable size when chaining multiple glfilters
https://bugzilla.gnome.org/show_bug.cgi?id=739277
This commit is contained in:
parent
0289fbe2cd
commit
28105a6e7d
1 changed files with 4 additions and 0 deletions
|
@ -899,6 +899,10 @@ 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);
|
||||||
|
gst_buffer_pool_config_get_params (config, NULL, &size, NULL, NULL);
|
||||||
|
gst_structure_free (config);
|
||||||
|
|
||||||
pool = decide_pool;
|
pool = decide_pool;
|
||||||
} else {
|
} else {
|
||||||
GST_DEBUG_OBJECT (filter, "create new pool");
|
GST_DEBUG_OBJECT (filter, "create new pool");
|
||||||
|
|
Loading…
Reference in a new issue