[gstreamer-bugs] [Bug 538628] New: Patch: added a timeout property to fdsrc used in gst_poll_wait

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jun 16 08:32:32 PDT 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=538628

  GStreamer | gstreamer (core) | Ver: HEAD CVS
           Summary: Patch: added a timeout property to fdsrc used in
                    gst_poll_wait
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: tilljoel at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


When using the fdsrc to read from a socket, its useful to be able to specify a
timeout for the gst_poll_wait that is used. The behavior should be unchanged
when not setting the property, it will use -1 and wait forever.

See patch for

gstreamer/gstreamer/plugins/elements/gstfdsrc.c (1.82)
gstreamer/gstreamer/plugins/elements/gstfdsrc.h (1.23)

http://pastebin.com/f6e1b4e37

Also changed some old labels/debugmessages that used "select" to "poll".

/joel


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




More information about the Gstreamer-bugs mailing list