gst/base/gstbasetransform.c: Passthrough elements don't need the caps as they don't care.

Original commit message from CVS:
* gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
(gst_base_transform_handle_buffer):
Passthrough elements don't need the caps as they don't care.
This commit is contained in:
Wim Taymans 2005-08-31 13:53:39 +00:00
parent 8cd2dc7a81
commit 6116cdc149
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2005-08-31 Wim Taymans <wim@fluendo.com>
* gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
(gst_base_transform_handle_buffer):
Passthrough elements don't need the caps as they don't care.
2005-08-31 Wim Taymans <wim@fluendo.com>
* gst/base/gstbasetransform.c: (gst_base_transform_setcaps),

View file

@ -824,7 +824,7 @@ gst_base_transform_handle_buffer (GstBaseTransform * trans, GstBuffer * inbuf,
else
GST_LOG_OBJECT (trans, "... and offset NONE");
if (!trans->negotiated)
if (!trans->negotiated && !trans->passthrough)
goto not_negotiated;
if (trans->in_place) {

View file

@ -824,7 +824,7 @@ gst_base_transform_handle_buffer (GstBaseTransform * trans, GstBuffer * inbuf,
else
GST_LOG_OBJECT (trans, "... and offset NONE");
if (!trans->negotiated)
if (!trans->negotiated && !trans->passthrough)
goto not_negotiated;
if (trans->in_place) {