Sebastian Dröge
55994477a7
bus: Switch from GstAtomicQueue to GstVecDeque
...
All accesses to it were protected either by a mutex already, or at least
used yet another mutex for gst_poll_read_control() / gst_poll_write_control().
The usage of GstPoll has to stay for backwards compatibility as it is
used to manage the (public) fd that can be used to wait for the bus to
be ready, but this switch at least simplifies the implementation a bit
and results in fewer atomic operations.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6684 >
2024-09-02 09:26:23 +00:00
Xavier Claessens
22b7200d60
bus: do not leak message on invalid handler return value
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6124 >
2024-02-15 18:37:48 +00:00
Xavier Claessens
57f12dd2fa
bus: do not leak messages if there is no async handler
...
This does not typically happen because "enable-async" property is TRUE
by default. The only place where it is set to FALSE is in GstBin where a
sync handler is used and always returns GST_BUS_DROP.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6124 >
2024-02-15 18:37:48 +00:00
Xavier Claessens
350345150e
bus: warn when message queue grows too much
...
It usually means application is not handling messages causing memory
consumption to grow infinitely.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3313 >
2024-02-15 17:45:06 +00:00
Tim-Philipp Müller
654f3370a0
meson: Bump GLib requirement to >= 2.64
...
This includes fixes to make GstBus watches non-racy.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2126 >
2023-10-22 10:48:12 +01:00
Tim-Philipp Müller
7d58554f4c
bus, poll: drop use of GSlice
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3695 >
2023-01-24 15:25:05 +00:00
Thibault Saunier
6c364d9626
Move files from gstreamer into the "subprojects/gstreamer/" subdir
2021-09-24 16:13:07 -03:00