[vlc-devel] commit: POLLHUP and POLLERR only make sense in revents ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Aug 6 19:12:24 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Aug  6 20:10:54 2008 +0300| [a8fb26598bd8f48a7182642b4eada92b497c3bfc] | committer: Rémi Denis-Courmont 

POLLHUP and POLLERR only make sense in revents

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a8fb26598bd8f48a7182642b4eada92b497c3bfc
---

 modules/access/dv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/dv.c b/modules/access/dv.c
index 911a7f8..8af02c6 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 );




More information about the vlc-devel mailing list