V4L2: don't whine in the logs on EINTR
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 23 Jan 2011 15:45:14 +0000 (17:45 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 23 Jan 2011 15:49:00 +0000 (17:49 +0200)
modules/access/v4l2.c

index 5a5c888..0654e4a 100644 (file)
@@ -1288,7 +1288,8 @@ static ssize_t AccessReadStream( access_t * p_access, uint8_t * p_buffer, size_t
 
     if( i_ret < 0 )
     {
-        msg_Err( p_access, "Polling error (%m)." );
+        if( errno != EINTR )
+            msg_Err( p_access, "poll error" );
         return -1;
     }