mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-25 01:54:17 +00:00
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:
parent
8cd2dc7a81
commit
6116cdc149
3 changed files with 8 additions and 2 deletions
|
@ -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),
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue