mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +00:00
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.
This commit is contained in:
parent
9e37243eca
commit
3d7b6f15b8
4 changed files with 21 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
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>
|
2007-05-04 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send_keep_alive),
|
* 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_clip,
|
||||||
(GstAudioAmplifyProcessFunc)
|
(GstAudioAmplifyProcessFunc)
|
||||||
gst_audio_amplify_transform_int_wrap_negative,
|
gst_audio_amplify_transform_int_wrap_negative,
|
||||||
(GstAudioAmplifyProcessFunc)
|
(GstAudioAmplifyProcessFunc)
|
||||||
gst_audio_amplify_transform_int_wrap_positive},
|
gst_audio_amplify_transform_int_wrap_positive},
|
||||||
{
|
{
|
||||||
(GstAudioAmplifyProcessFunc) gst_audio_amplify_transform_float_clip,
|
(GstAudioAmplifyProcessFunc) gst_audio_amplify_transform_float_clip,
|
||||||
(GstAudioAmplifyProcessFunc)
|
(GstAudioAmplifyProcessFunc)
|
||||||
gst_audio_amplify_transform_float_wrap_negative,
|
gst_audio_amplify_transform_float_wrap_negative,
|
||||||
(GstAudioAmplifyProcessFunc)
|
(GstAudioAmplifyProcessFunc)
|
||||||
gst_audio_amplify_transform_float_wrap_positive}
|
gst_audio_amplify_transform_float_wrap_positive}
|
||||||
};
|
};
|
||||||
|
|
||||||
/* GObject vmethod implementations */
|
/* GObject vmethod implementations */
|
||||||
|
@ -419,6 +419,9 @@ gst_audio_amplify_transform_ip (GstBaseTransform * base, GstBuffer * buf)
|
||||||
if (!gst_buffer_is_writable (buf))
|
if (!gst_buffer_is_writable (buf))
|
||||||
return GST_FLOW_OK;
|
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);
|
filter->process (filter, GST_BUFFER_DATA (buf), num_samples);
|
||||||
|
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
|
|
|
@ -705,6 +705,9 @@ gst_audio_dynamic_transform_ip (GstBaseTransform * base, GstBuffer * buf)
|
||||||
if (!gst_buffer_is_writable (buf))
|
if (!gst_buffer_is_writable (buf))
|
||||||
return GST_FLOW_OK;
|
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);
|
filter->process (filter, GST_BUFFER_DATA (buf), num_samples);
|
||||||
|
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
|
|
|
@ -245,6 +245,9 @@ gst_audio_invert_transform_ip (GstBaseTransform * base, GstBuffer * buf)
|
||||||
if (!gst_buffer_is_writable (buf))
|
if (!gst_buffer_is_writable (buf))
|
||||||
return GST_FLOW_OK;
|
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);
|
filter->process (filter, GST_BUFFER_DATA (buf), num_samples);
|
||||||
|
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
|
|
Loading…
Reference in a new issue