v4l2object: Don't probe UVC devices for being interlaced
authorHans de Goede <hdegoede@redhat.com>
Fri, 8 Jun 2012 18:38:34 +0000 (20:38 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 11 Jun 2012 09:23:34 +0000 (11:23 +0200)
commitb9676944bbd5a5503d3abed856b606acb886e91a
tree67cc149fefadb07ccaf29d5f5336bbc04db6304d
parent98e415dc9dff6a4a8e0f3ef5f7c3f243e3b04dd6
v4l2object: Don't probe UVC devices for being interlaced

UVC devices are never interlaced, and doing VIDIOC_TRY_FMT on them
causes expensive and slow USB IO, so don't probe them for interlaced.

This shaves 2 seconds of the startup time of cheese with a Logitech
Webcam Pro 9000.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=677722
sys/v4l2/gstv4l2object.c