From: RĂ©mi Denis-Courmont Date: Wed, 6 Aug 2008 17:10:54 +0000 (+0300) Subject: POLLHUP and POLLERR only make sense in revents X-Git-Tag: 0.9.0~564 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a8fb26598bd8f48a7182642b4eada92b497c3bfc;p=vlc POLLHUP and POLLERR only make sense in revents --- diff --git a/modules/access/dv.c b/modules/access/dv.c index 911a7f8673..8af02c6f5c 100644 --- a/modules/access/dv.c +++ b/modules/access/dv.c @@ -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 );