[gstreamer-bugs] [Bug 399948] [textoverlay] leaks upstream events if textpad unlinked

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jan 24 04:51:46 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=399948

  GStreamer | gst-plugins-base | Ver: 0.10.11


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
            Summary|memory leak in the          |[textoverlay] leaks upstream
                   |textoverlay element         |events if textpad unlinked
   Target Milestone|HEAD                        |0.10.12




------- Comment #1 from Tim-Philipp Müller  2007-01-24 12:50 UTC -------
Should be fixed now:

 2007-01-24  Tim-Philipp Müller  <tim at centricular dot net>

        * ext/pango/gsttextoverlay.c: (gst_text_overlay_src_event),
        (gst_text_overlay_text_event):
          Don't unnecessarily ref (and then leak) upstream events if the text
          pad is not linked. Fixes #399948.

        * tests/check/gst-plugins-base.supp:
          Add suppression for pango on edgy/x86 for textoverlay test.


Tested with:

 $ G_SLICE=always-malloc valgrind --leak-check=yes --trace-children=yes
gst-launch-0.10 videotestsrc num-buffers=333 ! textoverlay text="my text"
halignment=2 valignment=2 ! xvimagesink


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list