diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-10-12 12:02:34 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-10-12 12:21:49 +0200 |
commit | 7f68d7a6f8a91b5296fd2135cf62d7842b77bce7 (patch) | |
tree | 9589aa521eb6740586297a2ab5488c951ba36db9 /gst/gstpluginloader.c | |
parent | edce400c7974d1501fa650cebd40843a4de08941 (diff) |
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.
Diffstat (limited to 'gst/gstpluginloader.c')
-rw-r--r-- | gst/gstpluginloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstpluginloader.c b/gst/gstpluginloader.c index 60dfe8834..fd062d439 100644 --- a/gst/gstpluginloader.c +++ b/gst/gstpluginloader.c @@ -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) |