[gstreamer-bugs] [Bug 500653] New: reuse qos event in basesink

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Nov 30 06:54:23 PST 2007


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

  GStreamer | gstreamer (core) | Ver: HEAD CVS
           Summary: reuse qos event in basesink
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          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


Basesink creates a new qos event for each frame. It would be nice to reduce the
number of allocations during playtime. The attached patche does that.

I meassured with this pipeline:
MP_LOG_START=0.3 G_SLICE=always-malloc G_DEBUG=gc-friendly
LD_PRELOAD=libmempattern.so gst-launch-0.10 --gst-disable-registry-fork
videotestsrc num-buffers=50 ! xvimagesink

and got this result:
$ # before
$ wc -l /tmp/mp_use.log
35406 /tmp/mp_use.log
$ # after
$ wc -l /tmp/mp_use.log 
34777 /tmp/mp_use.log
$ # savings = 629


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




More information about the Gstreamer-bugs mailing list