mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
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:
parent
66f8bf4e2f
commit
b4a9554f99
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue