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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jul 1 09:15:37 PDT 2014


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

--- Comment #13 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-07-01 16:15:29 UTC ---
(In reply to comment #12)
> I think I already did - attachment #279374 [details] - drops the workaround, save and
> restore.
> 
> The only problem with that is that for drivers that don't support TRY_FMT, we
> fall back to S_FMT during probing, which means that probing will change camera
> settings (which I thought you were opposed to in comment 6).

The fallback do S_FMT, unless another driver bug, G_FMT will read that last set
format, hence v4l2_object_set_format() will behave accordingly to the current
format. The entire restore/save mechanism should be dropped, it only made sense
for buggy TRY_FMT/G_FMT.

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