[gstreamer-bugs] [Bug 539372] udpsrc do not set port properly on anonymous binding

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Jun 25 01:12:03 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=539372

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

Sebastian Dröge changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.9




------- Comment #3 from Sebastian Dröge  2008-06-25 08:12 UTC -------
Right, thanks for the pointer :)

2008-06-25  Sebastian Dröge  <sebastian.droege at collabora.co.uk>

        * gst/udp/gstudpsrc.c: (gst_udpsrc_start):
        Call getsockname() after the call to bind() to get updated values
        for the port, etc. This fixes the usage of udpsrc on anonymous
        binding and it's usage by rtspsrc. Fixes bugs #539372, #539548.
        Thanks to Aurelien Grimaud for pointing out the obvious fix.


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




More information about the Gstreamer-bugs mailing list