mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 11:26:39 +00:00
df9482f39b
Add gst_audio_ring_buffer_set_errored() that will mark the ringbuffer as errored only if it is currently started or paused, so gst_audio_ringbuffer_stop() can be sure that the error state means that the ringbuffer was started and needs stop called. Fixes a crash with osxaudiosrc if the source element posts an error, because the ringbuffer would not get stopped and CoreAudio would continue trying to do callbacks. Also, anywhere that modifies the ringbuffer state, make sure to use atomic operations, to guarantee their visibility Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5216> |
||
---|---|---|
.. | ||
allocators | ||
app | ||
audio | ||
fft | ||
gl | ||
pbutils | ||
riff | ||
rtp | ||
rtsp | ||
sdp | ||
tag | ||
video | ||
glib-compat-private.h | ||
meson.build |