sys/sunaudio/gstsunaudiosrc.c: Open source with O_NONBLOCK (#349015).

Original commit message from CVS:
Patch by: Brian Cameron <brian dot cameron at sun com>
* sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_open):
Open source with O_NONBLOCK (#349015).
This commit is contained in:
Brian Cameron 2006-07-28 08:32:47 +00:00 committed by Tim-Philipp Müller
parent 332549280d
commit da5c3416e7
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2006-07-28 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Brian Cameron <brian dot cameron at sun com>
* sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_open):
Open source with O_NONBLOCK (#349015).
2006-07-28 Stefan Kost,,, <ensonic@users.sf.net>
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),

View file

@ -243,7 +243,7 @@ gst_sunaudiosrc_open (GstAudioSrc * asrc)
GstSunAudioSrc *sunaudiosrc = GST_SUNAUDIO_SRC (asrc);
int fd, ret;
fd = open (sunaudiosrc->device, O_RDWR);
fd = open (sunaudiosrc->device, O_RDWR | O_NONBLOCK);
if (fd == -1) {
GST_ELEMENT_ERROR (sunaudiosrc, RESOURCE, OPEN_READ, (NULL),