[gstreamer-bugs] [Bug 505417] Add GstPoll to core

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Feb 18 06:48:06 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=505417

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #17 from Damien Lespiau  2008-02-18 14:48 UTC -------
Just to include here a possible followup for this patch.

GstPoll works on windows, with the following changes:

* include gst/windows/gstwindows.h in gstpoll.h:
        - wraps close(), socketpair() for windows builds
        - struct pollfd & POLL* defines
        - on Windows, current code will use select() to wait. On windows
select() only works with socket descriptors.
This has the side effect to make the gstpoll patch depend on #515312

*  FD_SETSIZE is defined to 64 in my mingw headers, and windows socket
descriptors are allocated with numbers above FD_SETSIZE. So the check pfd->fd <
FD_SIZE is not valid on windows. */

see bug #515312 for more details and updated patch.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=505417.




More information about the Gstreamer-bugs mailing list