[gstreamer-bugs] [Bug 423304] New: file descriptor closed in udpsrc and dynudpsink

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Mar 27 03:59:07 PDT 2007


Do NOT reply to this via email (we are currently unable to handle email
responses and they WILL be discarded).

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=423304.
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.

  GStreamer | gst-plugins-good | Ver: HEAD CVS

           Summary: file descriptor closed in udpsrc and dynudpsink
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: spglegle at yahoo.fr
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,
when passing a sock fd  to udpsrc and/or dynudpsink these elements close the fd
on state change. This is a problem if the same fd is used in two elements such
as udpsrc an dynudpsink (for ex. for RTP endpoints). The application should
have possibility to control the close() of the passed fd .

The following patch adds this ability with a new property : 'closefd',
defaulting to TRUE to keep the elements in the old behaviour.
If set to FALSE the passed fd (and only this one) will not be closed.

Regards.




More information about the Gstreamer-bugs mailing list