mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 09:41:07 +00:00
plugins/elements/: Pull in patch from head to handle EAGAIN. Fixes: #524041
Original commit message from CVS: * plugins/elements/gstfdsink.c: * plugins/elements/gstfdsrc.c: Pull in patch from head to handle EAGAIN. Fixes: #524041
This commit is contained in:
parent
7f836e1c45
commit
fbde682002
4 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-04-03 Jan Schmidt <jan.schmidt@sun.com>
|
||||||
|
|
||||||
|
* plugins/elements/gstfdsink.c:
|
||||||
|
* plugins/elements/gstfdsrc.c:
|
||||||
|
Pull in patch from head to handle EAGAIN. Fixes: #524041
|
||||||
|
|
||||||
=== release 0.10.18 ===
|
=== release 0.10.18 ===
|
||||||
|
|
||||||
2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
|
2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 170f8e91adc7157f6e708ffa58ca22d10e4e45da
|
Subproject commit fda6da5f2b9b000f7e1df8ffb44a6185ffd9799b
|
|
@ -233,7 +233,7 @@ again:
|
||||||
GST_DEBUG_OBJECT (fdsink, "going into select, have %d bytes to write",
|
GST_DEBUG_OBJECT (fdsink, "going into select, have %d bytes to write",
|
||||||
size);
|
size);
|
||||||
retval = gst_poll_wait (fdsink->fdset, GST_CLOCK_TIME_NONE);
|
retval = gst_poll_wait (fdsink->fdset, GST_CLOCK_TIME_NONE);
|
||||||
} while (retval == -1 && errno == EINTR);
|
} while (retval == -1 && (errno == EINTR || errno == EAGAIN));
|
||||||
|
|
||||||
if (retval == -1) {
|
if (retval == -1) {
|
||||||
if (errno == EBUSY)
|
if (errno == EBUSY)
|
||||||
|
|
|
@ -342,7 +342,7 @@ gst_fd_src_create (GstPushSrc * psrc, GstBuffer ** outbuf)
|
||||||
#ifndef HAVE_WIN32
|
#ifndef HAVE_WIN32
|
||||||
do {
|
do {
|
||||||
retval = gst_poll_wait (src->fdset, GST_CLOCK_TIME_NONE);
|
retval = gst_poll_wait (src->fdset, GST_CLOCK_TIME_NONE);
|
||||||
} while (retval == -1 && errno == EINTR);
|
} while (retval == -1 && (errno == EINTR || errno == EAGAIN)); /* retry if interrupted */
|
||||||
|
|
||||||
if (retval == -1) {
|
if (retval == -1) {
|
||||||
if (errno == EBUSY)
|
if (errno == EBUSY)
|
||||||
|
|
Loading…
Reference in a new issue