mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
basetrans: also pass allocation query in in_place
When we are doing an in_place transform, don't do the allocation query but let the upstream element decide.
This commit is contained in:
parent
5e330fa456
commit
c266912124
1 changed files with 1 additions and 1 deletions
|
@ -782,7 +782,7 @@ gst_base_transform_do_bufferpool (GstBaseTransform * trans, GstCaps * outcaps)
|
||||||
trans->priv->pool = oldpool = NULL;
|
trans->priv->pool = oldpool = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (trans->passthrough) {
|
if (trans->passthrough || trans->always_in_place) {
|
||||||
/* we are in passthrough, the input buffer is never copied and always passed
|
/* we are in passthrough, the input buffer is never copied and always passed
|
||||||
* along. We never allocate an output buffer on the srcpad. What we do is
|
* along. We never allocate an output buffer on the srcpad. What we do is
|
||||||
* let the upstream element decide if it wants to use a bufferpool and
|
* let the upstream element decide if it wants to use a bufferpool and
|
||||||
|
|
Loading…
Reference in a new issue