[gstreamer-bugs] [Bug 520808] GstPoll's API could need some changes for Windows

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Mar 6 10:57:35 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=520808

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #2 from Ole André Vadla Ravnås  2008-03-06 18:57 UTC -------
To clarify what I meant about gst_poll_add_fd:
On Windows you need to know what kind of fd you're dealing with in order to
know if you should use the winsock API or another API for monitoring the fd.
However, given that an implementation cannot know which kind of fd it is
without checking validity of the handle in each domain/namespace, it won't be
able to do so reliably because the handles in each may overlap. You can have a
socket handle that's 0x100 and a file handle that's 0x100, and both will be
valid. How will the GstPoll implementation then know if it should monitor the
socket 0x100 or the file 0x100?


-- 
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=520808.




More information about the Gstreamer-bugs mailing list