[gstreamer-bugs] [Bug 632118] New: [alsasink] probe does not work

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Oct 13 21:33:37 PDT 2010


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

           Summary: [alsasink] probe does not work
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: bossart.nospam at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=172326)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=172326)
patch against git master to force device probe

gstalsa.c contains code to probe actual capabilities of the alsa driver, but
this code is never called. In gstalsasink.c, the getcaps routine always returns
the default template caps since the handle is not opened.

I hacked a small patch to open the driver and force the probe. For example, the
x-iec958 cap is only added if the iec958 device can actually be opened.

The probe is limited since there's no means for now to query what ALSA actually
supports. If/when ALSA provides an API to query what codecs are supported by
the SPDIF or HDMI device, this probe will need to be extended.

Comments welcome.
-Pierre

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