Commit e10cd625 authored by Iain Holmes's avatar Iain Holmes
Browse files

Reference the group when we add an element to it.

Original commit message from CVS:
Reference the group when we add an element to it.
parent 1bb63cae
2004-01-13 Iain <iain@prettypeople.org>
* gst/schedulers/gstoptimalscheduler.c (add_to_group): Reference the
group when we add an element to it, cos we unref it when we remove one
2004-01-12 Thomas Vander Stichele <thomas at apestaart dot org>
* testsuite/debug/commandline.c: (debug_not_reached):
......
......@@ -651,6 +651,9 @@ add_to_group (GstOptSchedulerGroup *group, GstElement *element)
group_element_set_enabled (group, element, TRUE);
}
/* Ref the group... */
ref_group (group);
return group;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment