[Bug 690197] alsasrc: gets stuck in infinite loop if usb audio device is disconnected while being used
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Apr 8 04:41:27 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=690197
GStreamer | gst-plugins-base | git
--- Comment #17 from Sun <sunzun7 at gmail.com> 2013-04-08 11:41:21 UTC ---
i found read() function is blocking , though device is opened in non_block mode
but when prepare_read() it make it to block and it hangs if there is no data to
be filled
so will there be any problem if i change alsasrc_prepare() to prepare read in
non_block mode ?
Patch is as below.
http://paste.kde.org/718544/
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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