mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
poll: make sure we remove the readfd messages
This commit is contained in:
parent
35d10af06d
commit
9bf56084cf
1 changed files with 1 additions and 1 deletions
|
@ -1391,7 +1391,7 @@ gst_poll_wait (GstPoll * set, GstClockTime timeout)
|
|||
* For other polls, we need to clear the control socket. If there was only
|
||||
* one socket with activity and it was the control socket, we need to
|
||||
* restart */
|
||||
if (res == 1 && release_all_wakeup (set) > 0)
|
||||
if (release_all_wakeup (set) > 0 && res == 1)
|
||||
restarting = TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue