mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
gst/gstpoll.c: Adds support for FD_CONNECT event (win32). See #562258.
Original commit message from CVS: Patch by: 이문형 <iwings at gmail dot com> * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error): Adds support for FD_CONNECT event (win32). See #562258.
This commit is contained in:
parent
95e825900f
commit
67edb154e5
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
Patch by: 이문형 <iwings at gmail dot com>
|
||||
|
||||
* gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
|
||||
Adds support for FD_CONNECT event (win32). See #562258.
|
||||
|
||||
2008-11-24 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* libs/gst/base/gstbasesink.c:
|
||||
|
|
|
@ -695,7 +695,8 @@ gst_poll_fd_ctl_write (GstPoll * set, GstPollFD * fd, gboolean active)
|
|||
else
|
||||
pfd->events &= ~POLLOUT;
|
||||
#else
|
||||
gst_poll_update_winsock_event_mask (set, idx, FD_WRITE, active);
|
||||
gst_poll_update_winsock_event_mask (set, idx, FD_WRITE | FD_CONNECT,
|
||||
active);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -873,7 +874,8 @@ gst_poll_fd_has_error (const GstPoll * set, GstPollFD * fd)
|
|||
res = (wfd->events.iErrorCode[FD_CLOSE_BIT] != 0) ||
|
||||
(wfd->events.iErrorCode[FD_READ_BIT] != 0) ||
|
||||
(wfd->events.iErrorCode[FD_WRITE_BIT] != 0) ||
|
||||
(wfd->events.iErrorCode[FD_ACCEPT_BIT] != 0);
|
||||
(wfd->events.iErrorCode[FD_ACCEPT_BIT] != 0) ||
|
||||
(wfd->events.iErrorCode[FD_CONNECT_BIT] != 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue