gst/filter/: The transform() methods are not called in passthrough mode so there...
authorSebastian Dröge <slomo@circular-chaos.org>
Thu, 6 Dec 2007 12:37:43 +0000 (12:37 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 6 Dec 2007 12:37:43 +0000 (12:37 +0000)
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.

gst/audiofx/audiowsincband.c
gst/audiofx/audiowsinclimit.c

index 24a89ab..7e77661 100644 (file)
@@ -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);
 
index b405371..7d5f8e4 100644 (file)
@@ -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);