rtsp: handle socket errors
authorPatrick Radizi <patrick.radizi at axis.com>
Mon, 12 Oct 2009 13:48:46 +0000 (15:48 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 12 Oct 2009 13:48:46 +0000 (15:48 +0200)
commit48a44f470b8aede9010cc09a074dab165c5f576a
treea17dbdde371d0b795b731de27c220838845b1d6b
parent5dbaccabca12f36f994592026f8542711b8526fd
rtsp: handle socket errors

gstrtspconnection.c:gst_rtsp_connection_receive() can hang when an error occured
on a socekt. Fix this problem by checking for error on 'other' socket after poll
return.

Fixes #596159
gst-libs/gst/rtsp/gstrtspconnection.c