mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
332549280d
commit
da5c3416e7
2 changed files with 8 additions and 1 deletions
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue