stream: handle failed port allocation
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 1 Jul 2013 12:45:49 +0000 (14:45 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 1 Jul 2013 12:47:33 +0000 (14:47 +0200)
commit82812988a6f37da1b19adc00ce4ccd6ac8b97cfb
treeca9f5a16f9661c5fad4ab8aac4dc3f5644d4b3b1
parent284a0a5cd1d9e5df365a385d77d9b25c6eb0762e
stream: handle failed port allocation

Allow for ipv4 or ipv6 socket allocations to fail. Only report failure if we
can't allocate any family at all. Also keep track of what port families we
allocated.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=703175
gst/rtsp-server/rtsp-stream.c