[gstreamer-bugs] [Bug 558250] New: [audioconvert] Doesn't negotiate optimal caps

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Oct 28 08:02:11 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=558250

  GStreamer | gst-plugins-base | Ver: HEAD CVS
           Summary: [audioconvert] Doesn't negotiate optimal caps
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,
audioconvert sometimes doesn't negotiate the optimal caps:

gst-launch-0.10 -v audiotestsrc num-buffers=1 ! audioconvert !
"audio/x-raw-int,endianness=little_endian,width=16,depth=16" ! audioconvert !
"audio/x-raw-int,endianness=big_endian,width=(int){32,24,16,8}" ! fakesink
silent=true


This example creates width=32 at the sink while width=16 would be better and
without any loss.

audioconvert should prefer (if just endianness differs) the same format as the
input or at least the format with the least increase of size. Same goes for
other conversions where audioconvert can even increase the depth although this
is not necessary.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=558250.




More information about the Gstreamer-bugs mailing list