From 9fd560ffcae003bff7f522146db4aa880a379677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 21 Nov 2007 09:56:54 +0000 Subject: 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. --- gst/filter/gstlpwsinc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gst/filter/gstlpwsinc.c') diff --git a/gst/filter/gstlpwsinc.c b/gst/filter/gstlpwsinc.c index 0db1a743..32de5f06 100644 --- a/gst/filter/gstlpwsinc.c +++ b/gst/filter/gstlpwsinc.c @@ -764,6 +764,8 @@ lpwsinc_set_property (GObject * object, guint prop_id, const GValue * value, self->kernel_length = val; self->latency = val / 2; lpwsinc_build_kernel (self); + gst_element_post_message (GST_ELEMENT (self), + gst_message_new_latency (GST_OBJECT (self))); } GST_BASE_TRANSFORM_UNLOCK (self); break; -- cgit v1.2.1