Commit 3d7b6f15 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

gst/audiofx/: Sync the GObject properties before each processing step to...

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.
parent 9e37243e
2007-05-06 Sebastian Dröge <slomo@circular-chaos.org>
* 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.
2007-05-04 Wim Taymans <wim@fluendo.com>
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send_keep_alive),
......
......@@ -151,14 +151,14 @@ static GstAudioAmplifyProcessFunc processing_functions[2][3] = {
(GstAudioAmplifyProcessFunc) gst_audio_amplify_transform_int_clip,
(GstAudioAmplifyProcessFunc)
gst_audio_amplify_transform_int_wrap_negative,
(GstAudioAmplifyProcessFunc)
gst_audio_amplify_transform_int_wrap_positive},
(GstAudioAmplifyProcessFunc)
gst_audio_amplify_transform_int_wrap_positive},
{
(GstAudioAmplifyProcessFunc) gst_audio_amplify_transform_float_clip,
(GstAudioAmplifyProcessFunc)
gst_audio_amplify_transform_float_wrap_negative,
(GstAudioAmplifyProcessFunc)
gst_audio_amplify_transform_float_wrap_positive}
(GstAudioAmplifyProcessFunc)
gst_audio_amplify_transform_float_wrap_positive}
};
/* GObject vmethod implementations */
......@@ -419,6 +419,9 @@ gst_audio_amplify_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;
......
......@@ -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;
......
......@@ -245,6 +245,9 @@ gst_audio_invert_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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment