summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2007-12-06 12:37:43 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2007-12-06 12:37:43 +0000
commit1b6c70bf0b7424488b5594c78b76c1c8b796c1e7 (patch)
tree790ff93169f36b6102941bfe3b89786148f29797 /gst
parenteaa01e7c4255cc133cdfcbdce5af330263ac5d47 (diff)
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.
Diffstat (limited to 'gst')
-rw-r--r--gst/audiofx/audiowsincband.c4
-rw-r--r--gst/audiofx/audiowsinclimit.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/gst/audiofx/audiowsincband.c b/gst/audiofx/audiowsincband.c
index 24a89abd..7e77661c 100644
--- a/gst/audiofx/audiowsincband.c
+++ b/gst/audiofx/audiowsincband.c
@@ -595,10 +595,6 @@ bpwsinc_transform (GstBaseTransform * base, GstBuffer * inbuf,
if (GST_CLOCK_TIME_IS_VALID (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)
bpwsinc_build_kernel (self);
diff --git a/gst/audiofx/audiowsinclimit.c b/gst/audiofx/audiowsinclimit.c
index b4053714..7d5f8e4d 100644
--- a/gst/audiofx/audiowsinclimit.c
+++ b/gst/audiofx/audiowsinclimit.c
@@ -536,10 +536,6 @@ lpwsinc_transform (GstBaseTransform * base, GstBuffer * inbuf,
if (GST_CLOCK_TIME_IS_VALID (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)
lpwsinc_build_kernel (self);