[Bug 661376] New: G722 caps negotiation doesn't work propertly

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Oct 10 06:57:08 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=661376
  GStreamer | gst-ffmpeg | git

           Summary: G722 caps negotiation doesn't work propertly
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-ffmpeg
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: sjoerd at luon.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=198715)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=198715)
proposed patch

The following pipeline:
  audiotestsrc ! audio/x-raw-int,channels=2\;audio/x-raw-int,channels=1 !  
ffenc_g722 ! fakesink 

Bails out because caps negotiation decided to use 2 channels, while ffenc_g722
only actually supports 1 channel.

Fixed in attached patch, which also improves the general caps negotiation for
ffmpeg audio codecs.

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