mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-05 15:49:54 +00:00
poll: trigger rebuild setup in _new
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.
This commit is contained in:
parent
609a75eae2
commit
50d566d9ad
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue