gstreamer/girs
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
..
CudaGst-1.0.gir
GES-1.0.gir
Gst-1.0.gir gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
GstAllocators-1.0.gir
GstAnalytics-1.0.gir
GstApp-1.0.gir
GstAudio-1.0.gir audioringbuffer: Avoid overflows of segment done counter 2024-05-16 06:52:58 +00:00
GstBadAudio-1.0.gir
GstBadBaseCameraBin-1.0.gir
GstBase-1.0.gir gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
GstCheck-1.0.gir
GstCodecs-1.0.gir
GstController-1.0.gir
GstCuda-1.0.gir
GstGL-1.0.gir
GstInsertBin-1.0.gir
GstMpegts-1.0.gir
GstMse-1.0.gir
GstNet-1.0.gir
GstPbutils-1.0.gir pbutils: AV1 mime codec 2024-05-06 12:43:27 +00:00
GstPlay-1.0.gir play: Mention that gst_play_new() also initialized GStreamer 2024-05-09 09:56:39 +00:00
GstPlayer-1.0.gir play: Mention that gst_play_new() also initialized GStreamer 2024-05-09 09:56:39 +00:00
GstRtp-1.0.gir rtp: add value annotation for GST_RTP_VALID_VALUE 2024-04-29 18:27:40 +00:00
GstRtsp-1.0.gir
GstRtspServer-1.0.gir
GstSdp-1.0.gir
GstTag-1.0.gir
GstTranscoder-1.0.gir
GstVa-1.0.gir
GstValidate-1.0.gir
GstVideo-1.0.gir video: Add Y216 and Y416 formats 2024-05-03 17:02:34 +00:00
GstVulkan-1.0.gir vkencoder: add gstvkencoder helper object 2024-05-03 19:40:16 +00:00
GstWebRTC-1.0.gir