rtsp: make address-pool return an address object
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 15 Nov 2012 12:25:14 +0000 (13:25 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 15 Nov 2012 12:25:14 +0000 (13:25 +0100)
commit45b6693b39b44f8f29d51dc008f4efacff697247
treec69c2e473fa731fdb0a5bc3866e235daa6947416
parentfde8c01a85571950ec586c971a8cd7d11b2258e1
rtsp: make address-pool return an address object

Return a boxed GstRTSPAddress from the GstRTSPAddressPool. This allows us to
store more info in the structure and allows us to more easily return the address
to the right pool when no longer needed.
Pass the address to the StreamTransport so that we can return it to the pool
when the stream transport is freed or changed.
gst/rtsp-server/rtsp-address-pool.c
gst/rtsp-server/rtsp-address-pool.h
gst/rtsp-server/rtsp-client.c
gst/rtsp-server/rtsp-session-media.c
gst/rtsp-server/rtsp-session-media.h
gst/rtsp-server/rtsp-stream-transport.c
gst/rtsp-server/rtsp-stream-transport.h
tests/check/gst/addresspool.c