mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
Don't block during probing...
Original commit message from CVS: * ext/alsa/gstalsa.c: (gst_alsa_class_probe_devices): * sys/oss/gstosselement.c: (gst_osselement_class_probe_devices): Don't block during probing...
This commit is contained in:
parent
3447d073b8
commit
ab224e62dc
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-03-13 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/alsa/gstalsa.c: (gst_alsa_class_probe_devices):
|
||||
* sys/oss/gstosselement.c: (gst_osselement_class_probe_devices):
|
||||
Don't block during probing...
|
||||
|
||||
2004-03-12 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/alsa/gstalsa.c: (gst_alsa_get_type), (gst_alsa_class_init),
|
||||
|
|
|
@ -296,7 +296,7 @@ gst_osselement_class_probe_devices (GstOssElementClass *klass,
|
|||
* we don't need a mixer anyway (says OSS)... If we are a
|
||||
* mixer element, we use the mixer anyway. */
|
||||
if ((fd = open (mixer ? mixer :
|
||||
dsp, openmode)) > 0 || errno == EBUSY) {
|
||||
dsp, openmode | O_NONBLOCK)) > 0 || errno == EBUSY) {
|
||||
GstOssDeviceCombination *combi;
|
||||
|
||||
if (fd > 0)
|
||||
|
|
Loading…
Reference in a new issue