GESTimeLine(PipeLine): remove additional unref

This commit is contained in:
Mark Nauwelaerts 2010-04-20 12:50:09 +02:00 committed by Edward Hervey
parent 0bd968480c
commit 10be8697df
2 changed files with 0 additions and 2 deletions

View file

@ -348,7 +348,6 @@ error:
{
if (chain->tee) {
gst_bin_remove (GST_BIN_CAST (self), chain->tee);
gst_object_unref (chain->tee);
}
if (sinkpad)
gst_object_unref (sinkpad);

View file

@ -403,7 +403,6 @@ pad_removed_cb (GESTrack * track, GstPad * pad, TrackPrivate * priv)
GST_DEBUG ("Removing ghostpad");
gst_pad_set_active (priv->ghostpad, FALSE);
gst_element_remove_pad (GST_ELEMENT (priv->timeline), priv->ghostpad);
gst_object_unref (priv->ghostpad);
priv->ghostpad = NULL;
priv->pad = NULL;
}