After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 677722 - PATCH: v4l2: Don't probe UVC devices for being interlaced
PATCH: v4l2: Don't probe UVC devices for being interlaced
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other Linux
: Normal normal
: 0.10.32
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-06-08 18:44 UTC by Hans de Goede
Modified: 2012-06-11 09:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
PATCH: v4l2: Don't probe UVC devices for being interlaced (1.63 KB, patch)
2012-06-08 18:44 UTC, Hans de Goede
none Details | Review

Description Hans de Goede 2012-06-08 18:44:38 UTC
Created attachment 215985 [details] [review]
PATCH: v4l2: 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.
Comment 1 Wim Taymans 2012-06-11 09:23:23 UTC
commit a1e6ee9c17d0381485a06016efa1a56174b42a5a
Author: Hans de Goede <hdegoede@redhat.com>
Date:   Fri Jun 8 20:38:34 2012 +0200

    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