]> git.sesse.net Git - vlc/commit
V4L2: fix poll() error handling
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 23 Jan 2011 15:44:51 +0000 (17:44 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 23 Jan 2011 15:48:09 +0000 (17:48 +0200)
commitf2757e09a8d867ac936372e80e22f760b8513d84
tree5d60eb85f90c0e94789e0a10c28eb2e78f08e17e
parentcf25b55a45ec72aa89ce7089124d860a6e9b2081
V4L2: fix poll() error handling

Do not read revents in case of error.
Do not busy loop if POLLERR or POLLHUP get set.
modules/access/v4l2.c