[Bug 732326] Slow UVC webcam startup due to excessive S_FMT

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jun 27 12:59:28 PDT 2014


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

--- Comment #1 from Daniel Drake <dan at reactivated.net> 2014-06-27 10:39:11 UTC ---
Created an attachment (id=279374)
 View: https://bugzilla.gnome.org/attachment.cgi?id=279374
 Review: https://bugzilla.gnome.org/review?bug=732326&attachment=279374

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.

-- 
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