[Bug 706884] New: audioconvert: Only considers first structure when fixating caps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 27 05:49:05 PDT 2013


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

           Summary: audioconvert: Only considers first structure when
                    fixating caps
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Keywords: gnome-love
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


This pipeline for example should negotiate to S32BE instead of S16LE:

gst-launch-1.0 audiotestsrc ! audioconvert ! capsfilter
caps="audio/x-raw,format=S32LE" ! audioconvert ! capsfilter
caps="audio/x-raw,format={S8, S16LE};audio/x-raw,format=S32BE" ! fakesink -v

But because the fixate function inside gstaudioconvert.c only looks at the
first structure this does not happen. It should probably iterate over all
structures after fixating each structure for itself, and then select the first
best structure according to the same algorithm as it currently fixates every
structure.

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