alphacolor: make passthrough work.

This commit is contained in:
Alessandro Decina 2010-09-10 11:35:58 +02:00
parent d569cd8195
commit 51c9ad0233

View file

@ -645,6 +645,9 @@ gst_alpha_color_transform_ip (GstBaseTransform * btrans, GstBuffer * inbuf)
return GST_FLOW_ERROR;
}
if (gst_base_transform_is_passthrough (btrans))
return GST_FLOW_OK;
if (G_UNLIKELY (!alpha->process)) {
GST_ERROR_OBJECT (alpha, "Not negotiated yet");
return GST_FLOW_NOT_NEGOTIATED;