Commit 1d5ad7d1 authored by Committed by GStreamer Marge Bot
audio/alsa: Exit write loop if underlying device is already paused.
If the alsasink thread starts the write loop but another thread pauses the underlying alsa device, the sink thread will endlessly loop. snd_pcm_writei() will return 0 if the state is SND_PCM_STATE_PAUSED and the loop will never make any progress. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1097>
Showing with 7 additions and 0 deletions