[Bug 732326] v4l2: slow UVC webcam startup due to excessive S_FMT

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jul 1 09:59:36 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=732326
  GStreamer | gst-plugins-good | git

Nicolas Dufresne <nicolas.dufresne> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #279374|accepted-commit_now         |committed
             status|                            |

--- Comment #16 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-07-01 16:59:35 UTC ---
(From update of attachment 279374)
commit f9eb4dd2063c0fd843a2ee08ba23f9535bc636ed
Author: Daniel Drake <drake at endlessm.com>
Date:   Fri Jun 27 11:33:06 2014 +0100

    v4l2object: drop workaround for misbehaving TRY_FMT

    This workaround from 2011 was causing 25 S_FMT ioctls to be sent
    to my UVC webcam from under gst_v4l2_object_get_caps as it probes
    all the formats. In total, this adds up to about 5 seconds of
    execution time, or a 10 second delay while starting up cheese.

    These ioctls come from a workaround from 2011 where TRY_FMT might
    make changes to hardware settings, so S_FMT was used to restore
    the original config:
    https://bugzilla.gnome.org/show_bug.cgi?id=649067

    The driver bug is now assumed fixed. Remove the workaround to fix the
    long startup delay.

    https://bugzilla.gnome.org/show_bug.cgi?id=732326

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list