mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
gst-libs/gst/rtsp/gstrtspconnection.c: Make the next call to poll not depend on previous calls to poll with or withou...
Original commit message from CVS: Patch by: Damien Lespiau <damien.lespiau gmail com> * gst-libs/gst/rtsp/gstrtspconnection.c: (gst_rtsp_connection_write): Make the next call to poll not depend on previous calls to poll with or without reading from the active descriptor. Fixes #544293.
This commit is contained in:
parent
35acee194f
commit
81724500ec
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
Patch by: Damien Lespiau <damien.lespiau gmail com>
|
||||||
|
|
||||||
|
* gst-libs/gst/rtsp/gstrtspconnection.c:
|
||||||
|
(gst_rtsp_connection_write):
|
||||||
|
Make the next call to poll not depend on previous calls to poll with or
|
||||||
|
without reading from the active descriptor. Fixes #544293.
|
||||||
|
|
||||||
2008-10-31 Wim Taymans <wim.taymans@collabora.co.uk>
|
2008-10-31 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
Patch by: Nick Haddad <nick at haddads dot net>
|
Patch by: Nick Haddad <nick at haddads dot net>
|
||||||
|
|
|
@ -506,6 +506,8 @@ gst_rtsp_connection_write (GstRTSPConnection * conn, const guint8 * data,
|
||||||
gst_poll_set_controllable (conn->fdset, TRUE);
|
gst_poll_set_controllable (conn->fdset, TRUE);
|
||||||
gst_poll_fd_ctl_write (conn->fdset, &conn->fd, TRUE);
|
gst_poll_fd_ctl_write (conn->fdset, &conn->fd, TRUE);
|
||||||
gst_poll_fd_ctl_read (conn->fdset, &conn->fd, FALSE);
|
gst_poll_fd_ctl_read (conn->fdset, &conn->fd, FALSE);
|
||||||
|
/* clear all previous poll results */
|
||||||
|
gst_poll_fd_ignored (conn->fdset, &conn->fd);
|
||||||
|
|
||||||
to = timeout ? GST_TIMEVAL_TO_TIME (*timeout) : GST_CLOCK_TIME_NONE;
|
to = timeout ? GST_TIMEVAL_TO_TIME (*timeout) : GST_CLOCK_TIME_NONE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue