Pass GTimeVal around for performance reasons
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 13 Feb 2009 18:58:17 +0000 (19:58 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 13 Feb 2009 18:58:17 +0000 (19:58 +0100)
commitb86451dc76abfc5a22703de0e51635416c02200d
treeead353be40f347c8e60fe4a8a9ae0b1804794e6b
parentbc785b0a47a3586bee00df84811b7abd0b9bd201
Pass GTimeVal around for performance reasons

Get the current time only once and pass it around so that sessions don't have to
get the current time anymore.

Add experimental support for a GSource that dispatches when the session needs to
be cleaned up.
gst/rtsp-server/rtsp-session-pool.c
gst/rtsp-server/rtsp-session-pool.h