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 cuda: Report device open error 2024-01-30 14:30:41 +00:00
GES-1.0.gir Back to development 2024-03-05 12:58:57 +00:00
Gst-1.0.gir gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
GstAllocators-1.0.gir GstShmAllocator: Update gir files 2023-11-03 18:22:00 +00:00
GstAnalytics-1.0.gir analytics: Add missing documentation 2024-03-04 17:33:00 +00:00
GstApp-1.0.gir appsink: add max-time and max-buffers properties 2023-09-20 08:54:01 +00:00
GstAudio-1.0.gir audioringbuffer: Avoid overflows of segment done counter 2024-05-16 06:52:58 +00:00
GstBadAudio-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstBadBaseCameraBin-1.0.gir ci: switch the Fedora base image to f34 2023-10-22 05:23:28 +03:00
GstBase-1.0.gir gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
GstCheck-1.0.gir ci: switch the Fedora base image to f34 2023-10-22 05:23:28 +03:00
GstCodecs-1.0.gir ci: switch the Fedora base image to f34 2023-10-22 05:23:28 +03:00
GstController-1.0.gir gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
GstCuda-1.0.gir cuda: Update gir 2024-01-02 19:39:29 +09:00
GstGL-1.0.gir gl: Add RBGA format support 2023-12-01 12:19:12 +00:00
GstInsertBin-1.0.gir insertbin/doc: add "Since" markers to pass CI 2023-11-17 01:09:49 +01:00
GstMpegts-1.0.gir mpegst: Fix ownership of return value 2024-02-20 11:33:33 +02:00
GstMse-1.0.gir bad: Added W3C Media Source Extensions library 2023-11-19 13:48:43 +00:00
GstNet-1.0.gir ptp clock: fix annotations for gst_ptp_clock_new 2024-03-06 12:17:17 +00:00
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 rtspconnection: support redirect when using tunnel 2024-01-31 11:43:45 +00:00
GstRtspServer-1.0.gir ci: switch the Fedora base image to f34 2023-10-22 05:23:28 +03:00
GstSdp-1.0.gir ci: switch the Fedora base image to f34 2023-10-22 05:23:28 +03:00
GstTag-1.0.gir ci: switch the Fedora base image to f34 2023-10-22 05:23:28 +03:00
GstTranscoder-1.0.gir ci: switch the Fedora base image to f34 2023-10-22 05:23:28 +03:00
GstVa-1.0.gir va: fix g-i annotation 2024-02-06 16:37:12 +00:00
GstValidate-1.0.gir ci: switch the Fedora base image to f34 2023-10-22 05:23:28 +03:00
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 ci: switch the Fedora base image to f34 2023-10-22 05:23:28 +03:00