[gstreamer-bugs] [Bug 580093] New: [PATCH] Make tcpserversink read really used port, useful if you want to pass 0 as port parameter
bugzilla-daemon at bugzilla.gnome.org
Fri Apr 24 02:36:18 PDT 2009
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:
GStreamer | gst-plugins-base | Ver: git
Summary: [PATCH] Make tcpserversink read really used port, useful
if you want to pass 0 as port parameter
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: luca.ognibene at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Right now you can pass 0 to tcpserversink as port parameter, OS will select a
random free port but you don't know which.. This patch add as a call to
getsockname so you can do:
* create tcpserversink port=0
* ret = element.get_property(port)
Without the patch ret is 0.
With the patch ret points to the port selected by the OS.
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=580093.
More information about the Gstreamer-bugs