gst/gstbin.c: Fix clock settery in bins when adding kids after the clock has been selected.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_add_func):
Fix clock settery in bins when adding kids after the clock has
been selected.
This commit is contained in:
Ronald S. Bultje 2005-05-18 13:49:08 +00:00
parent ca6017610d
commit f704550b84
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/gstbin.c: (gst_bin_add_func):
Fix clock settery in bins when adding kids after the clock has
been selected.
2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/elements/gstidentity.c: (gst_identity_class_init):

View file

@ -391,6 +391,7 @@ gst_bin_add_func (GstBin * bin, GstElement * element)
gst_element_set_manager (element, GST_ELEMENT (bin)->manager);
gst_element_set_bus (element, GST_ELEMENT (bin)->bus);
gst_element_set_scheduler (element, GST_ELEMENT_SCHEDULER (bin));
gst_element_set_clock (element, GST_ELEMENT_CLOCK (bin));
GST_UNLOCK (bin);