v4l2: Fix v4l2src on OpenSolaris
authorElaine Xiong <Elaine.Xiong@Sun.COM>
Fri, 17 Jul 2009 12:22:57 +0000 (13:22 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Sun, 19 Jul 2009 10:42:13 +0000 (11:42 +0100)
commit085f87d85f83659b86e4ab880e389fa934f03962
treeccd38005283a8da6d2a827cacd50ba7c8c59ca41
parent988123b1869393f0b7eab72d16c28abe141228d3
v4l2: Fix v4l2src on OpenSolaris

The v4l2 driver for USB webcams on OpenSolaris does not support select()
calls. Detect when select() fails, and skip polling the device afterward,
which restores the pre 0.10.14 behaviour on OpenSolaris.

Signed-off-by: Jan Schmidt <thaytan@noraisin.net>
sys/v4l2/gstv4l2object.h
sys/v4l2/gstv4l2src.c
sys/v4l2/v4l2_calls.c
sys/v4l2/v4l2src_calls.c