client: send out teardown signal before tearing down
authorDavid Svensson Fors <davidsf@axis.com>
Mon, 15 Apr 2013 10:21:54 +0000 (12:21 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 15 Apr 2013 10:21:54 +0000 (12:21 +0200)
commitbba7c4042d1d0384affa0f94ae0cff7c1a2c9908
tree143e609f1f91a4b76410707702281868613517c2
parent825d6f0b5190a465ad31dd17c83cc691bc2f421a
client: send out teardown signal before tearing down

The advantage is that in the signal handler you get direct access to
information about what streams are about to get torn down (in the
GstRTSPClientState).

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