mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-07 19:22:15 +00:00
alphacolor: make passthrough work.
This commit is contained in:
parent
d569cd8195
commit
51c9ad0233
1 changed files with 3 additions and 0 deletions
|
@ -645,6 +645,9 @@ gst_alpha_color_transform_ip (GstBaseTransform * btrans, GstBuffer * inbuf)
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (gst_base_transform_is_passthrough (btrans))
|
||||||
|
return GST_FLOW_OK;
|
||||||
|
|
||||||
if (G_UNLIKELY (!alpha->process)) {
|
if (G_UNLIKELY (!alpha->process)) {
|
||||||
GST_ERROR_OBJECT (alpha, "Not negotiated yet");
|
GST_ERROR_OBJECT (alpha, "Not negotiated yet");
|
||||||
return GST_FLOW_NOT_NEGOTIATED;
|
return GST_FLOW_NOT_NEGOTIATED;
|
||||||
|
|
Loading…
Reference in a new issue