diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2007-12-06 12:37:43 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2007-12-06 12:37:43 +0000 |
commit | 5e1ac18fac1a81f80b0a79ce6dfb63064ce94911 (patch) | |
tree | 319059ba52f53e68675319b347fec61ae028772f | |
parent | fa55f0feafc5490503b4e259882c8bbcde40f41d (diff) | |
download | gst-plugins-bad-5e1ac18fac1a81f80b0a79ce6dfb63064ce94911.tar.gz gst-plugins-bad-5e1ac18fac1a81f80b0a79ce6dfb63064ce94911.tar.bz2 gst-plugins-bad-5e1ac18fac1a81f80b0a79ce6dfb63064ce94911.zip |
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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gst/filter/gstbpwsinc.c | 4 | ||||
-rw-r--r-- | gst/filter/gstlpwsinc.c | 4 |
3 files changed, 7 insertions, 8 deletions
@@ -2,6 +2,13 @@ * 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> + + * gst/filter/gstbpwsinc.c: (bpwsinc_transform): + * gst/filter/gstlpwsinc.c: (lpwsinc_transform): Sync the GObject properties with the controller even in passthrough mode to get consistent property values. diff --git a/gst/filter/gstbpwsinc.c b/gst/filter/gstbpwsinc.c index 24a89abd..7e77661c 100644 --- a/gst/filter/gstbpwsinc.c +++ b/gst/filter/gstbpwsinc.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/filter/gstlpwsinc.c b/gst/filter/gstlpwsinc.c index b4053714..7d5f8e4d 100644 --- a/gst/filter/gstlpwsinc.c +++ b/gst/filter/gstlpwsinc.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); |