diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/filter/gstbpwsinc.c | 2 | ||||
-rw-r--r-- | gst/filter/gstlpwsinc.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gst/filter/gstbpwsinc.c b/gst/filter/gstbpwsinc.c index bf399cbc..c11bd59a 100644 --- a/gst/filter/gstbpwsinc.c +++ b/gst/filter/gstbpwsinc.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; 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; |