[Bug 781030] alsasrc sometimes causes hanging.

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 18 10:45:22 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=781030

--- Comment #5 from Dag Gullberg <opaque.se at gmail.com> ---
The calls are typically from the ringbuffer in another thread.

Example situation:
One thread is in gst_audio_ring_buffer_release
Another is trying to do gst_alsasrc_get_timestamp()
The ringbuffer release code go via cb interface to eg. unprepare.
There is  a race situation that can be solved by using the present mutex in
GstAudioSrc.

I have addressed a specific issue seen in our devices but it should perhaps be
in place for alsasink as well.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list