mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gstpluginloader: Don't wait forever on gst_poll_wait.
This allows the macosx versions to properly error out when fds are closed. This is only a temporary fix until the pluginloader is switched to not use GstPoll but GIOChannels.
This commit is contained in:
parent
edce400c79
commit
7f68d7a6f8
1 changed files with 1 additions and 1 deletions
|
@ -881,7 +881,7 @@ exchange_packets (GstPluginLoader * l)
|
||||||
/* Wait for activity on our FDs */
|
/* Wait for activity on our FDs */
|
||||||
do {
|
do {
|
||||||
do {
|
do {
|
||||||
res = gst_poll_wait (l->fdset, GST_CLOCK_TIME_NONE);
|
res = gst_poll_wait (l->fdset, GST_SECOND);
|
||||||
} while (res == -1 && (errno == EINTR || errno == EAGAIN));
|
} while (res == -1 && (errno == EINTR || errno == EAGAIN));
|
||||||
|
|
||||||
if (res < 0)
|
if (res < 0)
|
||||||
|
|
Loading…
Reference in a new issue