Implement the systemclock with gstpoll
authorJonas Holmberg <jonas.holmberg@axis.com>
Tue, 3 Feb 2009 17:04:46 +0000 (18:04 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 3 Feb 2009 17:04:46 +0000 (18:04 +0100)
commitabffdb2ac384740831352eb5957ecfad15428cd7
tree96b02e91047bd5a3075ac4bf48ac17122c02b08d
parent5cfb02af4a939e44a72cfffc8b94d0c5ec56d61e
Implement the systemclock with gstpoll

Add a property to select the clock type, currently REALTIME and MONOTONIC when
posix timers are available.

Implement the systemclock with GstPoll instead of GCond. This allows us to
schedule timeouts with nanosecond precission on newer kernels and with ppoll
support. It's also resilient to changes to the systemclock because of NTP or
similar.
docs/gst/gstreamer-sections.txt
gst/gstclock.c
gst/gstsystemclock.c
gst/gstsystemclock.h