diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2007-11-21 09:56:54 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2007-11-21 09:56:54 +0000 |
commit | f04ee6e996e2291efe3ceeb7ce6e80ec941c5567 (patch) | |
tree | 20d2f3a90df97f031232b5af094e2a4255da0a15 /gst/audiofx/audiowsincband.c | |
parent | 970893e59118b70271390289df5c2a6486a61189 (diff) |
gst/filter/: Post a GST_MESSAGE_LATENCY if the latency changes.
Original commit message from CVS:
* gst/filter/gstbpwsinc.c: (bpwsinc_set_property):
* gst/filter/gstlpwsinc.c: (lpwsinc_set_property):
Post a GST_MESSAGE_LATENCY if the latency changes.
Diffstat (limited to 'gst/audiofx/audiowsincband.c')
-rw-r--r-- | gst/audiofx/audiowsincband.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/audiofx/audiowsincband.c b/gst/audiofx/audiowsincband.c index bf399cbc..c11bd59a 100644 --- a/gst/audiofx/audiowsincband.c +++ b/gst/audiofx/audiowsincband.c @@ -824,6 +824,8 @@ bpwsinc_set_property (GObject * object, guint prop_id, const GValue * value, self->kernel_length = val; self->latency = val / 2; bpwsinc_build_kernel (self); + gst_element_post_message (GST_ELEMENT (self), + gst_message_new_latency (GST_OBJECT (self))); } GST_BASE_TRANSFORM_UNLOCK (self); break; |