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.
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;
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;