pipeline: use START_TIME to keep track of time
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 28 May 2009 14:30:52 +0000 (16:30 +0200)
committerWim Taymans <wim@metal.(none)>
Fri, 29 May 2009 09:55:39 +0000 (11:55 +0200)
commit6affcdd2ad04e66b197e097a3cfc24c1d4508bfe
treed9ce21e1bff91290ec8f0d5c82ae8cf36bd98754
parent465b40a2b8f9c2b65966b0d544b32ec960a41341
pipeline: use START_TIME to keep track of time

Use the element START_TIME to keep track of the running time when the pipeline
paused so that it can be used to restore the base_time.
Take the start_time before setting the children to PAUSED so that we can
distribute the start_time to the children.
gst/gstpipeline.c
gst/gstpipeline.h