[gstreamer-bugs] [Bug 621723] v4l2src crashes on PLAYING->READY->PLAYING

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 16 08:25:30 PDT 2010


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

--- Comment #2 from Havoc Pennington <hp at pobox.com> 2010-06-16 15:25:29 UTC ---
Created an attachment (id=163838)
 View: https://bugzilla.gnome.org/attachment.cgi?id=163838
 Review: https://bugzilla.gnome.org/review?bug=621723&attachment=163838

v4l2src: do not try to change device format if it's already correct

This allows set_caps to succeed if caps change in a way that
would not modify the format we're getting from the hardware.
Otherwise if not in NULL state, setting caps would fail
with EBUSY.

With this change, in some cases it's OK to go PLAYING->READY->PLAYING
rather than PLAYING->NULL->PLAYING to avoid a time-consuming close
and reopen of the device.

Fixes #621723

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