mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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.
This commit is contained in:
parent
1b2fa58301
commit
9fd560ffca
3 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-11-21 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
|
* gst/filter/gstbpwsinc.c: (bpwsinc_set_property):
|
||||||
|
* gst/filter/gstlpwsinc.c: (lpwsinc_set_property):
|
||||||
|
Post a GST_MESSAGE_LATENCY if the latency changes.
|
||||||
|
|
||||||
2007-11-21 Wim Taymans <wim.taymans@gmail.com>
|
2007-11-21 Wim Taymans <wim.taymans@gmail.com>
|
||||||
|
|
||||||
* ext/faac/gstfaac.c: (gst_faac_sink_event):
|
* ext/faac/gstfaac.c: (gst_faac_sink_event):
|
||||||
|
|
|
@ -824,6 +824,8 @@ bpwsinc_set_property (GObject * object, guint prop_id, const GValue * value,
|
||||||
self->kernel_length = val;
|
self->kernel_length = val;
|
||||||
self->latency = val / 2;
|
self->latency = val / 2;
|
||||||
bpwsinc_build_kernel (self);
|
bpwsinc_build_kernel (self);
|
||||||
|
gst_element_post_message (GST_ELEMENT (self),
|
||||||
|
gst_message_new_latency (GST_OBJECT (self)));
|
||||||
}
|
}
|
||||||
GST_BASE_TRANSFORM_UNLOCK (self);
|
GST_BASE_TRANSFORM_UNLOCK (self);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -764,6 +764,8 @@ lpwsinc_set_property (GObject * object, guint prop_id, const GValue * value,
|
||||||
self->kernel_length = val;
|
self->kernel_length = val;
|
||||||
self->latency = val / 2;
|
self->latency = val / 2;
|
||||||
lpwsinc_build_kernel (self);
|
lpwsinc_build_kernel (self);
|
||||||
|
gst_element_post_message (GST_ELEMENT (self),
|
||||||
|
gst_message_new_latency (GST_OBJECT (self)));
|
||||||
}
|
}
|
||||||
GST_BASE_TRANSFORM_UNLOCK (self);
|
GST_BASE_TRANSFORM_UNLOCK (self);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue