socket_error_is_ignorable can cause infinite loop in gstmultiudpsink.c
if RTSP client connection is lost and EOS is sent to pipeline for
gst-rtsp-server. The remedy is to add ECONNREFUSED to the
conditional.
static gboolean
socket_error_is_ignorable (void)
{
#ifdef G_OS_WIN32
/* Windows doesn't seem to have an EAGAIN for sockets */
return WSAGetLastError () == WSAEINTR || WSAGetLastError() == WSAECONNREFUSED;
#else
return errno == EINTR || errno == EAGAIN || errno == ECONNREFUSED;
#endif
}
--
Rob Krakora
Senior Software Engineer
MessageNet Systems
101 East Carmel Dr. Suite 105
Carmel, IN 46032
(317)566-1677 Ext. 206
(317)663-0808 Fax
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel