stream: clear session and caps for reuse
authorOgnyan Tonchev <ognyan@axis.com>
Mon, 22 Apr 2013 14:09:22 +0000 (16:09 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 22 Apr 2013 14:09:22 +0000 (16:09 +0200)
commit6081f913515f5e318e39679b29f9b7ba4e3e3f6b
tree405595053f46187cc4dcff0203f6bd02cf665f87
parentbba7c4042d1d0384affa0f94ae0cff7c1a2c9908
stream: clear session and caps for reuse

Set the session and caps to NULL after unref otherwise we might unref
them again later.

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