mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
basetransform: reevaluate proxy_alloc when reconfigured
When we reconfigure the transform element, make sure we reevaluate the proxying of buffer_alloc the next time around. Fixes #621332
This commit is contained in:
parent
121a0f6f7b
commit
f80a824a2f
1 changed files with 5 additions and 0 deletions
|
@ -709,6 +709,11 @@ gst_base_transform_configure_caps (GstBaseTransform * trans, GstCaps * in,
|
|||
ret = klass->set_caps (trans, in, out);
|
||||
}
|
||||
|
||||
GST_OBJECT_LOCK (trans);
|
||||
/* make sure we reevaluate how the buffer_alloc works wrt to proxy allocating
|
||||
* the buffer. */
|
||||
trans->priv->suggest_pending = TRUE;
|
||||
GST_OBJECT_UNLOCK (trans);
|
||||
trans->negotiated = ret;
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue