[gstreamer-bugs] [Bug 566936] [ghostpads] unlink function wrongly called on target

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Jan 16 03:36:16 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=566936

  GStreamer | gst-plugins-base | Ver: HEAD CVS




------- Comment #4 from Wim Taymans  2009-01-16 11:36 UTC -------
to Comment #3: It's not supposed to be symmetrical like that.

A srcpad is required to call the link function on the _peer_ pad passed in the
do_link function (core requirement to avoid some potential races we have not
had to deal with yet). 

In the unlink function, the pad is not required to call any unlink function on
the peer pad, because core does that and the peer pad is not passed to the
unlink function for that reason.

In any case, the unlink/link function should never be called on the _target_
pad because we don't unlink/link the internal pad from/to the target when we
simply unlink/link the ghostpad.


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




More information about the Gstreamer-bugs mailing list