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 )
{
while( ( result = poll( &(p_sys->raw1394_poll), 1, 200 ) ) < 0 )
{
if( !( errno == EAGAIN || errno == EINTR ) )
{
perror( "error: raw1394 poll" );
msg_Err( p_access, "retrying device raw1394" );
}
if( errno != EINTR )
msg_Err( p_access, "poll error: %m" );
}
if( !vlc_object_alive (p_sys->p_ev) )
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