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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Dec 24 04:55:08 PST 2007


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
           Summary: Add GstPoll to core
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: wim.taymans at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


A common functionality in plugins is to perform a cancelable poll() or select()
on a set of file descriptors (udpsrc, multifdsink, rtspsrc...). Most of these
plugins have a custom implementation that is not shared and not necessarily
portable. 

In addition to operating on descriptors, we need an interruptable mechanism for
timeouts in GstClock. 

GstFDSet is currently available in -base/gst/tcp. It does not yet handle all
possible polling mechanisms or the high precision timeouts that ppoll or
pselect can provide.

GMainContext looks like a candidate but it turns out to be too heavy and
requires you to use callbacks instead of the select(), check_fd() sequence. 

We want to add excellent support for windows, which requires us to abstract the
restart and flushing operations.


-- 
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