[gstreamer-bugs] [Bug 583640] [v4l2src] add support for better device detection with libudev

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Jul 3 00:04:37 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=583640

  GStreamer | gst-plugins-good | Ver: git

Filippo Argiolas changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #135232|0                           |1
        is obsolete|                            |




------- Comment #12 from Filippo Argiolas  2009-07-03 07:04 UTC -------
Created an attachment (id=137765)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=137765&action=view)
v4l2src: optional support for device probing with gudev

This new patch just adds support for device probing using gudev.
Now that the device is opened in READY state there is no more need for udev
based property getters so that part has been stripped out.

Now the workflow for device probing would be:
probe devices with propertyprobe
for (devices) {
  set "device"
  set GST_STATE_READY (open the device)
  get useful properties (e.g. drop non capture devices)
  set GST_STATE_NULL (close the device)
}

Note that this patch is *a lot* more trivial than the previous.
If this would be applied cheese will have a little regression because there
won't be any way to retrieve Product and Vendor id for the devices. Another
patch that adds those properties to v4l2src will probably follow.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=583640.




More information about the Gstreamer-bugs mailing list