[gstreamer-bugs] [Bug 584465] New: basetransform does unneded pad_allocs

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jun 1 08:47:03 PDT 2009


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

  GStreamer | gstreamer (core) | Ver: git
           Summary: basetransform does unneded pad_allocs
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ensonic at sonicpulse.de
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


With this commit
http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=30f8603645d1d68c7d0df6b35deb45abaad37f06

basetransform started to do a pad_alloc for elements that don't have a
prepare_buffer function. In many circumstances the newly allocated buffer is
discarded. This works quite suboptimal. If I play a tiny 8sec song in buzztard

GST_DEBUG="basetransform*:4" GST_DEBUG_NO_COLOR=1 ~/buzztard/bin/buzztard-edit
2>debug.log --command=load
--input-file=/home/ensonic/buzztard/share/buzztard/songs/303-v2.bzt

and then grep for the code that discards buffers, I get this:
grep "discard buffer" debug.log | wc -l
2157

patch follows.


-- 
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=584465.




More information about the Gstreamer-bugs mailing list