gstreamer/subprojects/gst-plugins-base/gst-libs/gst
Sebastian Dröge 8ea355e52c audioringbuffer: Avoid overflows of segment done counter
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>
2024-05-16 06:52:58 +00:00
..
allocators shmallocator: fix build on Illumos 2024-03-13 18:48:27 +00:00
app gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
audio audioringbuffer: Avoid overflows of segment done counter 2024-05-16 06:52:58 +00:00
fft gst-plugins-base: re-indent with GNU indent 2.2.12 2023-03-17 03:18:53 +00:00
gl glcolorconvert: Fix caps negotiation with upstream DMABuf 2024-05-05 17:48:32 +01:00
pbutils pbutils: fix visualization plugins 2024-05-07 14:48:47 +00:00
riff riff: add more h265 fourcc formats 2023-07-17 13:17:20 +00:00
rtp rtp: add value annotation for GST_RTP_VALID_VALUE 2024-04-29 18:27:40 +00:00
rtsp gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
sdp sdp: accept empty attribute value represented as a NULL pointer 2024-03-08 10:28:15 +00:00
tag exiftag: Prevent integer overflows and out of bounds reads when handling undefined tags 2024-04-29 20:06:22 +00:00
video gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
glib-compat-private.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
meson.build sdp: Handle level-asymmetry-allowed for H264 streams 2021-12-12 10:59:00 -03:00