gstreamer/subprojects/gst-plugins-good/ext
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
..
aalib meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
adaptivedemux2 gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
amrnb amrnb, amrwbdec: move AMR-NB and AMR-WB plugins to -good 2023-05-02 23:33:12 +00:00
amrwbdec amrnb, amrwbdec: move AMR-NB and AMR-WB plugins to -good 2023-05-02 23:33:12 +00:00
cairo meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
dv meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
flac flac: Add wrap file and add fallback for it to the flac plugin 2024-04-07 11:12:51 +00:00
gdk_pixbuf gdkpixbuf: drop use of GSlice 2023-01-24 15:25:06 +00:00
gtk gtkglsink: template caps to only 2D & rectangle texture targets 2023-12-11 13:17:48 +01:00
jack jack: tone down log ERRORs in case no JACK server is running 2023-05-08 21:20:20 +00:00
jpeg jpegdec: Fix progressive/interlaced detection 2024-02-26 23:21:44 +09:00
lame meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
libcaca cacasink: add driver selection support from the pipeline 2024-02-19 07:50:15 +00:00
libpng pngenc: mark output frames as I-frames 2023-10-27 05:47:37 +00:00
mpg123 gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
pulse audioringbuffer: Avoid overflows of segment done counter 2024-05-16 06:52:58 +00:00
qt fix: qmlglsink: video content resizes to new item size 2024-04-29 02:57:06 +00:00
qt6 fix: qml6glsink: video content resizes to new item size 2024-04-29 02:57:06 +00:00
raw1394 Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00
shout2 shout2send: use version template in user-agent property 2023-08-07 10:41:16 +00:00
soup soup: fix thread name 2024-04-26 09:45:49 +08:00
speex meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
taglib meson: Set cpp_std to c++17 for TagLib 2024-01-27 12:44:48 +00:00
twolame meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
vpx vpxdec: Include vpx error details in errors and warnings 2024-04-13 10:57:43 +01:00
wavpack gst-plugins-good: re-indent with GNU indent 2.2.12 2023-03-17 03:18:54 +00:00
meson.build amrnb, amrwbdec: move AMR-NB and AMR-WB plugins to -good 2023-05-02 23:33:12 +00:00