mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
gst/filter/: The transform() methods are not called in passthrough mode so there's no need for checking if the elemen...
Original commit message from CVS: * gst/filter/gstbpwsinc.c: (bpwsinc_transform): * gst/filter/gstlpwsinc.c: (lpwsinc_transform): The transform() methods are not called in passthrough mode so there's no need for checking if the element is in passthrough mode.
This commit is contained in:
parent
fa55f0feaf
commit
5e1ac18fac
3 changed files with 7 additions and 8 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2007-12-06 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
|
* gst/filter/gstbpwsinc.c: (bpwsinc_transform):
|
||||||
|
* gst/filter/gstlpwsinc.c: (lpwsinc_transform):
|
||||||
|
The transform() methods are not called in passthrough mode so
|
||||||
|
there's no need for checking if the element is in passthrough mode.
|
||||||
|
|
||||||
2007-12-06 Sebastian Dröge <slomo@circular-chaos.org>
|
2007-12-06 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
* gst/filter/gstbpwsinc.c: (bpwsinc_transform):
|
* gst/filter/gstbpwsinc.c: (bpwsinc_transform):
|
||||||
|
|
|
@ -595,10 +595,6 @@ bpwsinc_transform (GstBaseTransform * base, GstBuffer * inbuf,
|
||||||
if (GST_CLOCK_TIME_IS_VALID (timestamp))
|
if (GST_CLOCK_TIME_IS_VALID (timestamp))
|
||||||
gst_object_sync_values (G_OBJECT (self), timestamp);
|
gst_object_sync_values (G_OBJECT (self), timestamp);
|
||||||
|
|
||||||
/* don't process data in passthrough-mode */
|
|
||||||
if (gst_base_transform_is_passthrough (base))
|
|
||||||
return GST_FLOW_OK;
|
|
||||||
|
|
||||||
if (!self->have_kernel)
|
if (!self->have_kernel)
|
||||||
bpwsinc_build_kernel (self);
|
bpwsinc_build_kernel (self);
|
||||||
|
|
||||||
|
|
|
@ -536,10 +536,6 @@ lpwsinc_transform (GstBaseTransform * base, GstBuffer * inbuf,
|
||||||
if (GST_CLOCK_TIME_IS_VALID (timestamp))
|
if (GST_CLOCK_TIME_IS_VALID (timestamp))
|
||||||
gst_object_sync_values (G_OBJECT (self), timestamp);
|
gst_object_sync_values (G_OBJECT (self), timestamp);
|
||||||
|
|
||||||
/* don't process data in passthrough-mode */
|
|
||||||
if (gst_base_transform_is_passthrough (base))
|
|
||||||
return GST_FLOW_OK;
|
|
||||||
|
|
||||||
if (!self->have_kernel)
|
if (!self->have_kernel)
|
||||||
lpwsinc_build_kernel (self);
|
lpwsinc_build_kernel (self);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue