Revert all these unrefs, they don't even pass make check !

Original commit message from CVS:
Revert all these unrefs, they don't even pass make check !
This commit is contained in:
Thomas Vander Stichele 2005-11-15 23:53:08 +00:00
parent 8a9bd6aac8
commit 74546e0323
8 changed files with 15 additions and 11 deletions

View file

@ -1,3 +1,11 @@
2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/base/gstbasesrc.c: (gst_base_src_init):
* gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
* gst/gstqueue.c: (gst_queue_init):
* gst/gstregistryxml.c: (load_feature):
Revert all these unrefs, they don't even pass make check !
2005-11-15 Johan Dahlin <johan@gnome.org>
* gst/base/gstbasesrc.c: (gst_base_src_init):
@ -1248,6 +1256,12 @@
* gst/gstelement.c (gst_element_dispose): More helpful message.
2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
reviewed by: <delete if not using a buddy>
* common/gtk-doc.mak:
2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gstregistry.c: (gst_registry_scan_path_level):

View file

@ -195,7 +195,6 @@ gst_base_src_init (GstBaseSrc * basesrc, gpointer g_class)
GST_DEBUG_OBJECT (basesrc, "creating src pad");
pad = gst_pad_new_from_template (pad_template, "src");
gst_object_unref (pad_template);
GST_DEBUG_OBJECT (basesrc, "setting functions on src pad");
gst_pad_set_activatepush_function (pad,

View file

@ -209,7 +209,6 @@ gst_type_find_element_init (GstTypeFindElement * typefind,
/* sinkpad */
src_template = gst_static_pad_template_get (&type_find_element_sink_template);
typefind->sink = gst_pad_new_from_template (src_template, "sink");
gst_object_unref (src_template);
gst_pad_set_activate_function (typefind->sink,
GST_DEBUG_FUNCPTR (gst_type_find_element_activate));
@ -222,7 +221,6 @@ gst_type_find_element_init (GstTypeFindElement * typefind,
/* srcpad */
sink_template = gst_static_pad_template_get (&type_find_element_src_template);
typefind->src = gst_pad_new_from_template (sink_template, "src");
gst_object_unref (sink_template);
gst_pad_set_activatepull_function (typefind->src,
GST_DEBUG_FUNCPTR (gst_type_find_element_activate_src_pull));

View file

@ -335,7 +335,6 @@ gst_queue_init (GstQueue * queue)
sink_template = gst_static_pad_template_get (&sinktemplate);
queue->sinkpad = gst_pad_new_from_template (sink_template, "sink");
gst_object_unref (sink_template);
gst_pad_set_chain_function (queue->sinkpad,
GST_DEBUG_FUNCPTR (gst_queue_chain));
@ -353,7 +352,6 @@ gst_queue_init (GstQueue * queue)
src_template = gst_static_pad_template_get (&srctemplate);
queue->srcpad = gst_pad_new_from_template (src_template, "src");
gst_object_unref (src_template);
gst_pad_set_activatepush_function (queue->srcpad,
GST_DEBUG_FUNCPTR (gst_queue_src_activate_push));

View file

@ -524,7 +524,7 @@ load_feature (xmlTextReaderPtr reader)
return NULL;
}
if (!GST_IS_PLUGIN_FEATURE (feature)) {
gst_object_unref (feature);
g_object_unref (feature);
return NULL;
}
while ((ret = xmlTextReaderRead (reader)) == 1) {

View file

@ -195,7 +195,6 @@ gst_base_src_init (GstBaseSrc * basesrc, gpointer g_class)
GST_DEBUG_OBJECT (basesrc, "creating src pad");
pad = gst_pad_new_from_template (pad_template, "src");
gst_object_unref (pad_template);
GST_DEBUG_OBJECT (basesrc, "setting functions on src pad");
gst_pad_set_activatepush_function (pad,

View file

@ -335,7 +335,6 @@ gst_queue_init (GstQueue * queue)
sink_template = gst_static_pad_template_get (&sinktemplate);
queue->sinkpad = gst_pad_new_from_template (sink_template, "sink");
gst_object_unref (sink_template);
gst_pad_set_chain_function (queue->sinkpad,
GST_DEBUG_FUNCPTR (gst_queue_chain));
@ -353,7 +352,6 @@ gst_queue_init (GstQueue * queue)
src_template = gst_static_pad_template_get (&srctemplate);
queue->srcpad = gst_pad_new_from_template (src_template, "src");
gst_object_unref (src_template);
gst_pad_set_activatepush_function (queue->srcpad,
GST_DEBUG_FUNCPTR (gst_queue_src_activate_push));

View file

@ -209,7 +209,6 @@ gst_type_find_element_init (GstTypeFindElement * typefind,
/* sinkpad */
src_template = gst_static_pad_template_get (&type_find_element_sink_template);
typefind->sink = gst_pad_new_from_template (src_template, "sink");
gst_object_unref (src_template);
gst_pad_set_activate_function (typefind->sink,
GST_DEBUG_FUNCPTR (gst_type_find_element_activate));
@ -222,7 +221,6 @@ gst_type_find_element_init (GstTypeFindElement * typefind,
/* srcpad */
sink_template = gst_static_pad_template_get (&type_find_element_src_template);
typefind->src = gst_pad_new_from_template (sink_template, "src");
gst_object_unref (sink_template);
gst_pad_set_activatepull_function (typefind->src,
GST_DEBUG_FUNCPTR (gst_type_find_element_activate_src_pull));