mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
8ea355e52c
This counter is incremented once for every segment, meaning it would e.g. overflow after 24 days when using 1ms segments. Once that happens, completely wrong positions are reported and invalid memory is handed out for writing/reading the next segments. As the affected variables are unfortunately part of the public API of the struct, a second set of variables is added together with accessor functions and both variables are kept in sync for backwards compatibility. All existing users of the two variables are moved to the new ones but external code might still run into the overflow. This also slightly breaks API as external code updating the variables will have no effect anymore but the only known user of this is pulsesink. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6740> |
||
---|---|---|
.. | ||
gstpulseelement.c | ||
gstpulseelements.h | ||
meson.build | ||
plugin.c | ||
pulsedeviceprovider.c | ||
pulsedeviceprovider.h | ||
pulsesink.c | ||
pulsesink.h | ||
pulsesrc.c | ||
pulsesrc.h | ||
pulseutil.c | ||
pulseutil.h |