diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-06-14 16:20:18 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-06-14 16:20:18 +0200 |
commit | f80a824a2f2ba3d85e25585871acb60a4ad802dd (patch) | |
tree | 9e02ad67b88818c588f2e393802b82bb66d26b02 /libs | |
parent | 121a0f6f7b1bc72f6b752821747ca8e7f4538b8b (diff) |
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
Diffstat (limited to 'libs')
-rw-r--r-- | libs/gst/base/gstbasetransform.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/gst/base/gstbasetransform.c b/libs/gst/base/gstbasetransform.c index 3ba4290c1..97faa733a 100644 --- a/libs/gst/base/gstbasetransform.c +++ b/libs/gst/base/gstbasetransform.c @@ -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; |