[gstreamer-bugs] [Bug 570910] 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:59:07 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




------- Comment #2 from David Schleef  2009-02-07 23:59 UTC -------
Created an attachment (id=128199)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=128199&action=view)
patch

This is one way of fixing the problem, but I don't trust it until someone who
understands ghost pads has looked at it.

>From 3a468692887fd9c5f341d3f186de31acd003ebb2 Mon Sep 17 00:00:00 2001
From: David Schleef <ds at schleef.org>
Date: Sat, 7 Feb 2009 15:23:36 -0800
Subject: [PATCH] bin: untarget ghost pads of element being removed

When removing an element from a bin, iterate over ghostpads
on the bin and retarget those that point to pads of the
element being removed.
---
 gst/gstbin.c |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)


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