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:
Edward Hervey 2009-10-12 12:02:34 +02:00
parent edce400c79
commit 7f68d7a6f8

View file

@ -881,7 +881,7 @@ exchange_packets (GstPluginLoader * l)
/* Wait for activity on our FDs */
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));
if (res < 0)