From 3d7b6f15b8f5945546bff6824e7b36035667f7c2 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Sun, 6 May 2007 21:32:40 +0000 Subject: gst/audiofx/: Sync the GObject properties before each processing step to properly work with the controller. Original commit message from CVS: * gst/audiofx/audioamplify.c: (gst_audio_amplify_transform_ip): * gst/audiofx/audiodynamic.c: (gst_audio_dynamic_transform_ip): * gst/audiofx/audioinvert.c: (gst_audio_invert_transform_ip): Sync the GObject properties before each processing step to properly work with the controller. --- gst/audiofx/audiodynamic.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gst/audiofx/audiodynamic.c') diff --git a/gst/audiofx/audiodynamic.c b/gst/audiofx/audiodynamic.c index 3527e34f..583008f1 100644 --- a/gst/audiofx/audiodynamic.c +++ b/gst/audiofx/audiodynamic.c @@ -705,6 +705,9 @@ gst_audio_dynamic_transform_ip (GstBaseTransform * base, GstBuffer * buf) if (!gst_buffer_is_writable (buf)) return GST_FLOW_OK; + if (GST_CLOCK_TIME_IS_VALID (GST_BUFFER_TIMESTAMP (buf))) + gst_object_sync_values (G_OBJECT (filter), GST_BUFFER_TIMESTAMP (buf)); + filter->process (filter, GST_BUFFER_DATA (buf), num_samples); return GST_FLOW_OK; -- cgit