diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2007-12-06 12:29:26 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2007-12-06 12:29:26 +0000 |
commit | fa55f0feafc5490503b4e259882c8bbcde40f41d (patch) | |
tree | 9c0f315b9027160cb6a2e0fe7d75bbae055f2a3b /gst/filter/gstbpwsinc.c | |
parent | 6c413217419556f27b349b10e26a09e04035c144 (diff) | |
download | gst-plugins-bad-fa55f0feafc5490503b4e259882c8bbcde40f41d.tar.gz gst-plugins-bad-fa55f0feafc5490503b4e259882c8bbcde40f41d.tar.bz2 gst-plugins-bad-fa55f0feafc5490503b4e259882c8bbcde40f41d.zip |
gst/filter/: Sync the GObject properties with the controller even in passthrough mode to get consistent property values.
Original commit message from CVS:
* 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.
Diffstat (limited to 'gst/filter/gstbpwsinc.c')
-rw-r--r-- | gst/filter/gstbpwsinc.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gst/filter/gstbpwsinc.c b/gst/filter/gstbpwsinc.c index c11bd59a..24a89abd 100644 --- a/gst/filter/gstbpwsinc.c +++ b/gst/filter/gstbpwsinc.c @@ -590,16 +590,15 @@ bpwsinc_transform (GstBaseTransform * base, GstBuffer * inbuf, gint output_samples = input_samples; gint diff; - /* don't process data in passthrough-mode */ - if (gst_base_transform_is_passthrough (base)) - return GST_FLOW_OK; - /* FIXME: subdivide GST_BUFFER_SIZE into small chunks for smooth fades */ timestamp = GST_BUFFER_TIMESTAMP (outbuf); - 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); |