gst/gstpipeline.c: Don't ref a NULL clock in _provide_clock_func().
authorWim Taymans <wim.taymans@gmail.com>
Fri, 23 Feb 2007 17:42:06 +0000 (17:42 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 23 Feb 2007 17:42:06 +0000 (17:42 +0000)
commitc574a01484e3d733a33ab90b389c9e4fa983e317
treec851c912052aa2e4eee2bd77ddc36a95cb95b0a3
parent77614f97aa10bd37992230ae12d44cc0b93efb3b
gst/gstpipeline.c: Don't ref a NULL clock in _provide_clock_func().

Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_change_state),
(gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
Don't ref a NULL clock in _provide_clock_func().
Don't allow an INVALID delay.
Don't try to calculate base_time with an invalid start_time.
Also distribute and notify a NULL clock when it was selected.
* tools/gst-launch.c: (event_loop):
Don't crash when a NULL clock was selected in the pipeline.
ChangeLog
gst/gstpipeline.c
tools/gst-launch.c