rtspconnection: Add read source on write socket.
authorGöran Jönsson <goranjn@axis.com>
Mon, 19 May 2014 11:28:52 +0000 (13:28 +0200)
committerWim Taymans <wtaymans@redhat.com>
Tue, 20 May 2014 10:02:13 +0000 (12:02 +0200)
commitd8a1dc5ea83ebfa6ea8a8deadc6832d668bf6644
treee322aff75f15a7cccc20f8734efcbda371722029
parent0760fe86255a6534ebf92cd43dd415490f8fce4a
rtspconnection: Add read source on write socket.

Add a read source on write socket when lost tunnel.
To be able to detect when clint closes get channel.

This is already done in gst_rtsp_source_dispatch_write but
only when the queue is empty.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=730368
gst-libs/gst/rtsp/gstrtspconnection.c