diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-11-03 18:38:11 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2010-12-03 15:50:38 +0100 |
commit | 9bf56084cf9bff07e96aab3128c723e5508bda73 (patch) | |
tree | 9ae83d08b3f0cf732997f60b650eb82f09f184e0 /gst | |
parent | 35d10af06d2becc900d788ce16ed2da9710e22e6 (diff) |
poll: make sure we remove the readfd messages
Diffstat (limited to 'gst')
-rw-r--r-- | gst/gstpoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstpoll.c b/gst/gstpoll.c index 5ae8aef5e7..04d2382808 100644 --- a/gst/gstpoll.c +++ b/gst/gstpoll.c @@ -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; } |