]> git.sesse.net Git - vlc/commitdiff
POLLHUP and POLLERR only make sense in revents
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Wed, 6 Aug 2008 17:10:54 +0000 (20:10 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Wed, 6 Aug 2008 17:11:23 +0000 (20:11 +0300)
modules/access/dv.c

index 911a7f8673522035da130fed4800c6d219627cf2..8af02c6f5c220fe95905f1e946b95e291cec7193 100644 (file)
@@ -218,7 +218,7 @@ static int Open( vlc_object_t *p_this )
     raw1394_start_iso_rcv( p_sys->p_raw1394, p_sys->i_channel );
 
     p_sys->raw1394_poll.fd = raw1394_get_fd( p_sys->p_raw1394 );
-    p_sys->raw1394_poll.events = POLLIN | POLLERR | POLLHUP | POLLPRI;
+    p_sys->raw1394_poll.events = POLLIN | POLLPRI;
 
     /* Update default_pts to a suitable value for udp access */
     var_Create( p_access, "dv-caching", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT );