Commit 9f8a21b2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

DV: remove impossible EAGAIN error on poll()

parent 314c242a
...@@ -343,11 +343,8 @@ static void* Raw1394EventThread( vlc_object_t *p_this ) ...@@ -343,11 +343,8 @@ static void* Raw1394EventThread( vlc_object_t *p_this )
{ {
while( ( result = poll( &(p_sys->raw1394_poll), 1, 200 ) ) < 0 ) while( ( result = poll( &(p_sys->raw1394_poll), 1, 200 ) ) < 0 )
{ {
if( !( errno == EAGAIN || errno == EINTR ) ) if( errno != EINTR )
{ msg_Err( p_access, "poll error: %m" );
perror( "error: raw1394 poll" );
msg_Err( p_access, "retrying device raw1394" );
}
} }
if( !vlc_object_alive (p_sys->p_ev) ) if( !vlc_object_alive (p_sys->p_ev) )
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment