projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edce400
)
gstpluginloader: Don't wait forever on gst_poll_wait.
author
Edward Hervey
<bilboed@bilboed.com>
Mon, 12 Oct 2009 10:02:34 +0000
(12:02 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Mon, 12 Oct 2009 10:21:49 +0000
(12:21 +0200)
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.
gst/gstpluginloader.c
patch
|
blob
|
history
diff --git
a/gst/gstpluginloader.c
b/gst/gstpluginloader.c
index
60dfe88
..
fd062d4
100644
(file)
--- 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)