[gstreamer-bugs] [Bug 570910] New: Removing the target of a ghostpad does not re-target the ghostpad to NULL

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Feb 7 15:52:57 PST 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=570910

  GStreamer | gstreamer (core) | Ver: git
           Summary: Removing the target of a ghostpad does not re-target the
                    ghostpad to NULL
           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: msmith at xiph.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Unit test attached, it:
 - creates a bin with a sink inside it.
 - creates a ghostpad on that bin targetted at the sink inside it.
 - removes the sink from the bin
 - checks that the ghostpad no longer points at the sink's sinkpad.

It currently fails.

In my larger application, I do roughly the same, then (having removed my
element from the pipeline (p1)) I reuse that element in another pipeline (p2).

After that, I unref (and so it gets disposed) p1. Unfortunately, since there's
something in p1 that still points at my element, this incorrectly affects p2.

(I will go into detail later; have to head out now).


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




More information about the Gstreamer-bugs mailing list