[gstreamer-bugs] [Bug 342494] New: [v4l] [patch] Query "device-name" even if device is not open

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun May 21 08:13:22 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=342494
 GStreamer | gst-plugins-base | Ver: HEAD CVS

           Summary: [v4l] [patch] Query "device-name" even if device is not
                    open
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: gnomebugzilla at sukimashita.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unversioned Enhancement
   GNOME milestone: Unspecified


Current v4l elements only have a non-NULL "device-name" property if the device
is opened. This is problematic if applciations use the property probe interface
to check all available v4l devices and read their hardware device name.

This behaviour is not consistent with other elements that implement the
"device"
property. The "alsa" elements return the "device-name" if a valid "device"
property is set. The "v4l/v4l2" elements do return "NULL" in such a case.

The patch below, additionally triggers an attempt to open the device, read the
device-name and closing it again if it is not already opened. This makes device
probing work.

Aside of this, it might be time to think about a specification for elements and
applications to query/get device(name) lists efficiently (cache) and consistent
if implemented in new elements.

This is a side-effect of an attempt to add "device" option menus to the
gstreamer-properties capplet. (Bug 341983)


-- 
Configure bugmail: http://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