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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 30 01:13:30 PDT 2014


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

--- Comment #5 from Daniel Drake <dan at reactivated.net> 2014-06-30 08:13:25 UTC ---
Grepping for drivers in the kernel source that mention vidioc_s_fmt but not
vidioc_try_fmt, the list is just:

 drivers/media/pci/ttpci/av7110_v4l.c
 drivers/media/platform/s5p-tv/mixer_video.c
 drivers/media/usb/tlg2300/pd-video.c

Note that even after this patch, the v4l2object code still has a fallback on
S_FMT if TRY_FMT is not supported, however since it does not do a save/restore
of the settings any more, it might mean that the simple act of probing changes
the settings of the camera.

What do you think? If you're concerned I could update the patch to only do the
save/restore when S_FMT is tried.

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