addresspool: return reason of failure
authorPatrick Radizi <patrick.radizi at axis.com>
Tue, 24 Sep 2013 15:30:18 +0000 (17:30 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 24 Sep 2013 15:30:18 +0000 (17:30 +0200)
commit7b0ad7c25f7f5eaa5ef8902a4ab299d57318edfd
tree8900936f38bed60df5231b2146bca49e4760132a
parentc7bed54b879ed9bccc92a33b81e8dbd217e243e7
addresspool: return reason of failure

Let gst_rtsp_address_pool_reserve_address() return the reason why
the address could not be reserved.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=708229
gst/rtsp-server/rtsp-address-pool.c
gst/rtsp-server/rtsp-address-pool.h
gst/rtsp-server/rtsp-stream.c
tests/check/gst/addresspool.c