GST_DEBUG_OBJECT (basesrc, "creating src pad");
pad = gst_pad_new_from_template (pad_template, "src");
- g_object_unref (pad_template);
+ gst_object_unref (pad_template);
GST_DEBUG_OBJECT (basesrc, "setting functions on src pad");
gst_pad_set_activatepush_function (pad,
/* sinkpad */
src_template = gst_static_pad_template_get (&type_find_element_sink_template);
typefind->sink = gst_pad_new_from_template (src_template, "sink");
- g_object_unref (src_template);
+ gst_object_unref (src_template);
gst_pad_set_activate_function (typefind->sink,
GST_DEBUG_FUNCPTR (gst_type_find_element_activate));
/* srcpad */
sink_template = gst_static_pad_template_get (&type_find_element_src_template);
typefind->src = gst_pad_new_from_template (sink_template, "src");
- g_object_unref (sink_template);
+ gst_object_unref (sink_template);
gst_pad_set_activatepull_function (typefind->src,
GST_DEBUG_FUNCPTR (gst_type_find_element_activate_src_pull));
sink_template = gst_static_pad_template_get (&sinktemplate);
queue->sinkpad = gst_pad_new_from_template (sink_template, "sink");
- g_object_unref (sink_template);
+ gst_object_unref (sink_template);
gst_pad_set_chain_function (queue->sinkpad,
GST_DEBUG_FUNCPTR (gst_queue_chain));
src_template = gst_static_pad_template_get (&srctemplate);
queue->srcpad = gst_pad_new_from_template (src_template, "src");
- g_object_unref (src_template);
+ gst_object_unref (src_template);
gst_pad_set_activatepush_function (queue->srcpad,
GST_DEBUG_FUNCPTR (gst_queue_src_activate_push));
return NULL;
}
if (!GST_IS_PLUGIN_FEATURE (feature)) {
- g_object_unref (feature);
+ gst_object_unref (feature);
return NULL;
}
while ((ret = xmlTextReaderRead (reader)) == 1) {
GST_DEBUG_OBJECT (basesrc, "creating src pad");
pad = gst_pad_new_from_template (pad_template, "src");
- g_object_unref (pad_template);
+ gst_object_unref (pad_template);
GST_DEBUG_OBJECT (basesrc, "setting functions on src pad");
gst_pad_set_activatepush_function (pad,
sink_template = gst_static_pad_template_get (&sinktemplate);
queue->sinkpad = gst_pad_new_from_template (sink_template, "sink");
- g_object_unref (sink_template);
+ gst_object_unref (sink_template);
gst_pad_set_chain_function (queue->sinkpad,
GST_DEBUG_FUNCPTR (gst_queue_chain));
src_template = gst_static_pad_template_get (&srctemplate);
queue->srcpad = gst_pad_new_from_template (src_template, "src");
- g_object_unref (src_template);
+ gst_object_unref (src_template);
gst_pad_set_activatepush_function (queue->srcpad,
GST_DEBUG_FUNCPTR (gst_queue_src_activate_push));
/* sinkpad */
src_template = gst_static_pad_template_get (&type_find_element_sink_template);
typefind->sink = gst_pad_new_from_template (src_template, "sink");
- g_object_unref (src_template);
+ gst_object_unref (src_template);
gst_pad_set_activate_function (typefind->sink,
GST_DEBUG_FUNCPTR (gst_type_find_element_activate));
/* srcpad */
sink_template = gst_static_pad_template_get (&type_find_element_src_template);
typefind->src = gst_pad_new_from_template (sink_template, "src");
- g_object_unref (sink_template);
+ gst_object_unref (sink_template);
gst_pad_set_activatepull_function (typefind->src,
GST_DEBUG_FUNCPTR (gst_type_find_element_activate_src_pull));