gstpoll: Fix for (p)select backend
authorEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 3 Jan 2011 19:19:05 +0000 (20:19 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 3 Jan 2011 19:37:59 +0000 (20:37 +0100)
commit4f94b94bff1764d1deadf2c10bb533785d3f882c
tree3df850fb366eaa1466d02c2e1061257b83388f61
parentee5b369ffd72368e53b5fdfce46390efbc83481d
gstpoll: Fix for (p)select backend

We need to reset the revents field of each pollfd when reading the results
from select else we'll end up with stray info from previous calls to
select.
gst/gstpoll.c