rtsp: Ref transports in hash table.
authorGöran Jönsson <goranjn@axis.com>
Fri, 28 Nov 2014 11:45:14 +0000 (12:45 +0100)
committerWim Taymans <wtaymans@redhat.com>
Tue, 2 Dec 2014 15:29:24 +0000 (16:29 +0100)
commit058698c9cf07234857c0068ec483f09cc8e107fa
treefe30141c50ca1d3091d3f775facd06b85ed41129
parent6ba01ef0efc300fdf06ba877165818096959e88c
rtsp: Ref transports in hash table.

Also ref streams for transports.
This solves a crash when reciving a rtcp after teardown but before
client finalize.

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