mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
gst-libs/gst/rtsp/gstrtspconnection.c: A successful gst_poll_wait() doesn't always mean successful connect() on
Original commit message from CVS: Patch by: 이문형 <iwings at gmail dot com> * gst-libs/gst/rtsp/gstrtspconnection.c: (gst_rtsp_connection_connect): A successful gst_poll_wait() doesn't always mean successful connect() on Windows. We should check errors by calling gst_poll_fd_has_error(). See #561924.
This commit is contained in:
parent
ecf6fe6455
commit
d80a5c9dbc
2 changed files with 14 additions and 0 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
Patch by: 이문형 <iwings at gmail dot com>
|
||||
|
||||
* gst-libs/gst/rtsp/gstrtspconnection.c:
|
||||
(gst_rtsp_connection_connect):
|
||||
A successful gst_poll_wait() doesn't always mean successful connect() on
|
||||
Windows. We should check errors by calling gst_poll_fd_has_error().
|
||||
See #561924.
|
||||
|
||||
2008-11-25 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* gst-libs/gst/rtp/gstrtcpbuffer.c:
|
||||
|
|
|
@ -287,6 +287,10 @@ gst_rtsp_connection_connect (GstRTSPConnection * conn, GTimeVal * timeout)
|
|||
else if (retval == -1)
|
||||
goto sys_error;
|
||||
|
||||
/* we can still have an error connecting on windows */
|
||||
if (gst_poll_fd_has_error (conn->fdset, &conn->fd))
|
||||
goto sys_error;
|
||||
|
||||
gst_poll_fd_ignored (conn->fdset, &conn->fd);
|
||||
|
||||
done:
|
||||
|
|
Loading…
Reference in a new issue