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:
609a75e
)
poll: trigger rebuild setup in _new
author
Mark Nauwelaerts
<mark.nauwelaerts@collabora.co.uk>
Thu, 3 Feb 2011 14:17:13 +0000
(15:17 +0100)
committer
Mark Nauwelaerts
<mark.nauwelaerts@collabora.co.uk>
Thu, 3 Feb 2011 14:52:18 +0000
(15:52 +0100)
Failing to do so in the Windows case (implicitly triggered otherwise)
would have a subsequent _wait return immediately leading to high CPU
usage timeout loops.
Fixes #640675.
gst/gstpoll.c
patch
|
blob
|
history
diff --git
a/gst/gstpoll.c
b/gst/gstpoll.c
index 5e8f6bd004a58838c18fb6d3ca3ff4514c94272d..cbc3904d944e22a13348a8c5dcff2d529ed0997e 100644
(file)
--- a/
gst/gstpoll.c
+++ b/
gst/gstpoll.c
@@
-582,6
+582,9
@@
gst_poll_new (gboolean controllable)
nset->wakeup_event = CreateEvent (NULL, TRUE, FALSE, NULL);
#endif
+ /* ensure (re)build, though already sneakily set in non-windows case */
+ MARK_REBUILD (nset);
+
nset->controllable = controllable;
return nset;