diff options
author | Brian Cameron <brian.cameron@sun.com> | 2006-07-28 08:32:47 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-07-28 08:32:47 +0000 |
commit | da5c3416e7f3f518e6dca76179914186131bd65c (patch) | |
tree | 8b80a256892853eae3cc2d46496d32a7066c5056 /sys/sunaudio | |
parent | 332549280da9ee65eded73e7b01e5f6ce5465118 (diff) |
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).
Diffstat (limited to 'sys/sunaudio')
-rw-r--r-- | sys/sunaudio/gstsunaudiosrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sunaudio/gstsunaudiosrc.c b/sys/sunaudio/gstsunaudiosrc.c index b014a7047..ffad13721 100644 --- a/sys/sunaudio/gstsunaudiosrc.c +++ b/sys/sunaudio/gstsunaudiosrc.c @@ -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), |