mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
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:
parent
8a9bd6aac8
commit
74546e0323
8 changed files with 15 additions and 11 deletions
14
ChangeLog
14
ChangeLog
|
@ -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):
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue