shouldn't sink here. that is up to the pad's parent (the element)

Original commit message from CVS:
shouldn't sink here. that is up to the pad's parent (the element)
This commit is contained in:
Steve Baker 2001-09-29 11:00:30 +00:00
parent 66f8bf4e2f
commit b4a9554f99

View file

@ -287,8 +287,7 @@ gst_pad_new_from_template (GstPadTemplate *templ,
g_return_val_if_fail (templ != NULL, NULL);
pad = gst_pad_new (name, templ->direction);
gst_object_ref (GST_OBJECT (templ));
gst_object_sink (GST_OBJECT (templ));
GST_PAD_PADTEMPLATE(pad) = templ;
return pad;
@ -1061,7 +1060,7 @@ gst_real_pad_dispose (GObject *object)
g_list_free (orig);
g_list_free (GST_REAL_PAD(pad)->ghostpads);
}
G_OBJECT_CLASS (real_pad_parent_class)->dispose (object);
}