mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
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.
This commit is contained in:
parent
1bb63cae00
commit
e10cd625ca
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue