gst/gstbin.*: Removing a clock provider from a bin, triggers a clock lost message...
authorWim Taymans <wim.taymans@gmail.com>
Fri, 18 Nov 2005 11:03:10 +0000 (11:03 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 18 Nov 2005 11:03:10 +0000 (11:03 +0000)
commit02253f5807e87bdac901de25d6bedf9ed34af1a4
tree887a77af1507b9cff2f9d99429bbacca01bb58e4
parent9188f69f3cadc7587848b9ebdf855d0aff4ab635
gst/gstbin.*: Removing a clock provider from a bin, triggers a clock lost message so that a new clock will be selected.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
(gst_bin_remove_func), (bin_bus_handler):
* gst/gstbin.h:
Removing a clock provider from a bin, triggers a clock lost message
so that a new clock will be selected.
Adding a clock to a bin triggers a clock provider message.
Make sure we reselect a clock when we received a clock lost message.
Keep a reference to the element that provided the clock.
ChangeLog
gst/gstbin.c
gst/gstbin.h