[Bug 722144] New: audiodecoder: do not negotiate caps with rate=1 and channels=1 for gap

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jan 13 16:02:25 PST 2014


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

           Summary: audiodecoder: do not negotiate caps with rate=1 and
                    channels=1 for gap
    Classification: Platform
           Product: GStreamer
           Version: unspecified
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: thiago.sousa.santos at collabora.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When the first 'data' received by audiodecoder is a gap event it will
use a default negotiation procedure that ends up using the fixated version
of downstream supported caps. This will often lead to a caps with rate=1 and
channels=1.

rate=1 is really odd and also crashes pulseaudio. Instead it should use
whatever upstream provided in the input caps.

The following patches add tests for audiodecoder for this case and also a fix.

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